Skip to content

Commit

Permalink
Add all flap options
Browse files Browse the repository at this point in the history
Makes splitflap_proto.py match config.h .
  • Loading branch information
shamlian committed Sep 1, 2024
1 parent 6be4383 commit 2bb122c
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion software/chainlink/splitflap_proto.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ForceMovement(Enum):
# '\'',
#]

# Flap option 2: v2 Flaps
# Flap option 2: v2 flaps (52 per module)
_DEFAULT_ALPHABET = [
' ',
'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
Expand All @@ -63,6 +63,19 @@ class ForceMovement(Enum):
'.', '?', '-', '$', '\'', '#', 'y', 'p', ',', '!', '@', '&', 'w',
]

# Flap option 3: v2 flaps (limited 40-flap set using the first 40 flaps of the set)
#_DEFAULT_ALPHABET = [
# ' ',
# 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
# 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
# 'g', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'r', '.',
#]

# Flap option 4: YOUR CUSTOM CHARACTER SET HERE!
#_DEFAULT_ALPHABET = [
# <FILL THIS IN!>
#]

def __init__(self, serial_instance):
self._serial = serial_instance
self._logger = logging.getLogger('splitflap')
Expand Down

0 comments on commit 2bb122c

Please sign in to comment.