diff options
author | Joey Castillo <jose.castillo@gmail.com> | 2021-10-21 17:28:59 -0400 |
---|---|---|
committer | Joey Castillo <jose.castillo@gmail.com> | 2021-10-21 17:28:59 -0400 |
commit | f1a706792e995f45b6b6f2ef70b2318253002249 (patch) | |
tree | f39b0640cbd40fe85105112decd19929af59c53e /watch-library | |
parent | 4df23ea9f9292ab9371302f69e5192b91cbce620 (diff) | |
download | Sensor-Watch-f1a706792e995f45b6b6f2ef70b2318253002249.tar.gz Sensor-Watch-f1a706792e995f45b6b6f2ef70b2318253002249.tar.bz2 Sensor-Watch-f1a706792e995f45b6b6f2ef70b2318253002249.zip |
movement: add character set demo
Diffstat (limited to 'watch-library')
-rw-r--r-- | watch-library/watch/watch_slcd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/watch-library/watch/watch_slcd.c b/watch-library/watch/watch_slcd.c index 6c63d966..63ba7988 100644 --- a/watch-library/watch/watch_slcd.c +++ b/watch-library/watch/watch_slcd.c @@ -204,6 +204,7 @@ void watch_display_character(uint8_t character, uint8_t position) { } if (character == 'T' && position == 1) slcd_sync_seg_on(&SEGMENT_LCD_0, SLCD_SEGID(1, 12)); // add descender else if (position == 0 && (character == 'B' || character == 'D')) slcd_sync_seg_on(&SEGMENT_LCD_0, SLCD_SEGID(0, 15)); // add funky ninth segment + else if (position == 0 && (character == 'B' || character == 'D' || character == '@')) slcd_sync_seg_on(&SEGMENT_LCD_0, SLCD_SEGID(0, 15)); // add funky ninth segment } void watch_display_string(char *string, uint8_t position) { |