Commits

Trammell Hudson committed 0e2770a

Comments (0)

Files changed (1)

alphaclock_18_Rev1_0/alphaclock_18_Rev1_0.pde

  * |/|\|  8FED7
  *  - -.   2 3
  *
+ * char word bits              comment
+ *           FEDCBA9876543210
+ *  0   93cf 1001001111001111  slashed zero
+ *  1   10c0 0001000011000000
+ *  2   806f 1000000001101111
+ *  3   10af 0001000010101111
+ *  4   4a30 0100101000110000
+ *  5   221f 0010001000011111
+ *  7   9033 1001000000110011
+ *  7   5003 0101000000000011
+ *  8   92bf 1001001010111111
  */
  static const uint16_t
 AlphaArray[] PROGMEM = {
 	0x0030, // -
 	0x0040, // . (lower DP)
 	0x9000, //  /
-	0x03cf, // 0
-	0x00c0, //1
-	0x017f, //2
-	0x00ef, //3
-	0x02f0, //4
-	0x02bf, //5
+        0x93cf, // slashed zero
+	0x10c0, // 1
+	0x806f, // 2
+	0x10af, // 3
+	0x02f0, // 4
+	0x221f, // 5
 	0x03bf, //6
-	0x00c3, //7
-	0x03ff, //8
+	0x5003, // 7
+	0x03ff, // 8
 	0x02ff, //9
 	0x4800, //:
 	0x8800, //;
 	0x000c, // _
 	0x0400, // `
 
-        // Spinners rotate through the middle
-        1 << 0xB,
-        1 << 0xC,
-        1 << 0x5,
-        1 << 0xD,
-        1 << 0xE,
-        1 << 0xF,
-        1 << 0x4,
-        1 << 0xA,
+	// Spinners rotate through the middle
+	1 << 0xB,
+	1 << 0xC,
+	1 << 0x5,
+	1 << 0xD,
+	1 << 0xE,
+	1 << 0xF,
+	1 << 0x4,
+	1 << 0xA,
 
-        // Chaser goes around the outside of the box
-        1 << 0x0,
-        1 << 0x1,
-        1 << 0x6,
-        1 << 0x7,
-        1 << 0x3,
-        1 << 0x2,
-        1 << 0x8,
-        1 << 0x9,
+	// Chaser goes around the outside of the box
+	1 << 0x0,
+	1 << 0x1,
+	1 << 0x6,
+	1 << 0x7,
+	1 << 0x3,
+	1 << 0x2,
+	1 << 0x8,
+	1 << 0x9,
 };
 
 
     HrNowTens = HrNow / 10;
     HrNowOnes = HrNow - 10 * HrNowTens;
 
-    AMPM24HdisplayNow = 'H';
+    AMPM24HdisplayNow = ' ';
 
   }
   else
     HrAlrmTens = AlarmTimeHr / 10;
     HrAlrmOnes = AlarmTimeHr - 10 * HrAlrmTens;
 
-    AMPM24HdisplayAlrm = 'H';
+    AMPM24HdisplayAlrm = ' ';
   }
   else
   {
       //display[0] = (SecNow % 8) + 1 + 8  + '`'; // chaser
       display_char(0, HrNowTens + '0');
       display_char(1, HrNowOnes + '0');
+#if 0
       display_char(2, MinNowTens + '0');
       display_char(3, MinNowOnes + '0');
+#else
+	display_char(2, (SecNow / 10) + '0');
+	display_char(3, (SecNow % 10) + '0');
+#endif
       display_char(4, ' '); // leave blank for spinner
 
       // Leading-Zero blanking for 12-hour mode:
 
     if (AlarmEnabled)
       display_dots[0] = DOT_TOP;
+    else
+      display_dots[0] = ' ';
   }
 
   // Time (or word) to display is now computed.
  {   display_refresh();
  }
  */
-
-
-
-
-
-
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.