]> git.earman.xyz Git - sensor-watch.git/commitdiff
add more notes to character set
authorJoey Castillo <jose.castillo@gmail.com>
Sat, 7 Aug 2021 17:30:28 +0000 (13:30 -0400)
committerJoey Castillo <jose.castillo@gmail.com>
Sat, 7 Aug 2021 17:30:28 +0000 (13:30 -0400)
watch-library/watch/watch.c

index e4f210f148c64016e9146bbf8fb290543624c410..2f742bbc739c2b4d8cc8918fb2e43a8f4357cfad 100644 (file)
@@ -62,21 +62,21 @@ static const uint8_t Character_Set[] =
     0b01110001, // F
     0b00111101, // G
     0b01110110, // H
-    0b10001001, // I
+    0b10001001, // I (only works in position 0)
     0b00001110, // J
     0b01110101, // K
     0b00111000, // L
-    0b10110111, // M
+    0b10110111, // M (only works in position 0)
     0b00110111, // N
     0b00111111, // O
     0b01110011, // P
     0b01100111, // Q
-    0b11110111, // R
+    0b11110111, // R (only works in position 1)
     0b01101101, // S
-    0b10000001, // T
+    0b10000001, // T (only works in position 0; set (1, 12) to make it work in position 1)
     0b00111110, // U
     0b00111110, // V
-    0b10111110, // W
+    0b10111110, // W (only works in position 0)
     0b01111110, // X
     0b01101110, // Y
     0b00011011, // Z
@@ -95,10 +95,10 @@ static const uint8_t Character_Set[] =
     0b01101111, // g
     0b01110100, // h
     0b00010000, // i
-    0b01000010, // j
-    0b11101010, // k
+    0b01000010, // j (appears as superscript to work in more positions)
+    0b01110101, // k
     0b00110000, // l
-    0b10110111, // m
+    0b10110111, // m (only works in position 0)
     0b01010100, // n
     0b01011100, // o
     0b01110011, // p
@@ -106,9 +106,9 @@ static const uint8_t Character_Set[] =
     0b01010000, // r
     0b01101101, // s
     0b01111000, // t
-    0b01100010, // u
-    0b01100010, // v
-    0b10111110, // w
+    0b01100010, // u (appears as superscript to work in more positions)
+    0b01100010, // v (appears as superscript to work in more positions)
+    0b10111110, // w (only works in position 0)
     0b01111110, // x
     0b01101110, // y
     0b00011011, // z