diff --git a/NeoTrellis_M4_RPG_Sound_Board/code.py b/NeoTrellis_M4_RPG_Sound_Board/code.py index b2c7ecf9..5ea2852b 100644 --- a/NeoTrellis_M4_RPG_Sound_Board/code.py +++ b/NeoTrellis_M4_RPG_Sound_Board/code.py @@ -27,6 +27,8 @@ trellis = adafruit_trellism4.TrellisM4Express(rotation=0) SELECTED_COLOR = WHITE # the color for the selected sample SAMPLE_FOLDER = '/samples/' # the name of the folder containing the samples SAMPLES = [] +BLACK = 0x000000 + # load the sound & color specifications with open('soundboard.txt', 'r') as f: diff --git a/TrelliBird/game.py b/TrelliBird/game.py index c7386c8e..430a73db 100644 --- a/TrelliBird/game.py +++ b/TrelliBird/game.py @@ -21,6 +21,8 @@ from bird import Bird from post import Post from color_names import * +BLACK = 0x000000 + class Game(object): """Overall game control."""