summaryrefslogtreecommitdiffstats
path: root/watch-library
diff options
context:
space:
mode:
authorJoey Castillo <jose.castillo@gmail.com>2021-08-07 13:34:36 -0400
committerJoey Castillo <jose.castillo@gmail.com>2021-08-07 13:34:36 -0400
commit973efe7edc5af0be74960a59dd63aa794a0c1fb0 (patch)
tree293e2938ae83b920e5face56f250045f7d6f5f0c /watch-library
parent754fb60ee76a606ec4b79b930bc26e933a41e54a (diff)
downloadSensor-Watch-973efe7edc5af0be74960a59dd63aa794a0c1fb0.tar.gz
Sensor-Watch-973efe7edc5af0be74960a59dd63aa794a0c1fb0.tar.bz2
Sensor-Watch-973efe7edc5af0be74960a59dd63aa794a0c1fb0.zip
add notes to segment map
Diffstat (limited to 'watch-library')
-rw-r--r--watch-library/watch/watch.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/watch-library/watch/watch.c b/watch-library/watch/watch.c
index 2f742bbc..0450c360 100644
--- a/watch-library/watch/watch.c
+++ b/watch-library/watch/watch.c
@@ -119,16 +119,16 @@ static const uint8_t Character_Set[] =
};
static const uint64_t Segment_Map[] = {
- 0x4e4f0e8e8f8d4d0d, // Position 8
- 0xc8c4c4c8b4b4b0b, // Position 9
- 0xc049c00a49890949, // Position 6
- 0xc048088886874707, // Position 7
- 0xc053921252139352, // Position 0
- 0xc054511415559594, // Position 1
- 0xc057965616179716, // Position 2
- 0xc041804000018a81, // Position 3
- 0xc043420203048382, // Position 4
- 0xc045440506468584, // Position 5
+ 0x4e4f0e8e8f8d4d0d, // Position 0, mode
+ 0xc8c4c4c8b4b4b0b, // Position 1, mode (Segments B and C shared, as are segments E and F)
+ 0xc049c00a49890949, // Position 2, day of month (Segments A, D, G shared; missing segment F)
+ 0xc048088886874707, // Position 3, day of month
+ 0xc053921252139352, // Position 4, clock hours (Segments A and D shared)
+ 0xc054511415559594, // Position 5, clock hours
+ 0xc057965616179716, // Position 6, clock minutes (Segments A and D shared)
+ 0xc041804000018a81, // Position 7, clock minutes
+ 0xc043420203048382, // Position 8, clock seconds
+ 0xc045440506468584, // Position 9, clock seconds
};
static const uint8_t Num_Chars = 10;