diff options
Diffstat (limited to 'app/main.c')
-rw-r--r-- | app/main.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -42,11 +42,12 @@ main (void) led_set (); - oled_init (); + oled1_init (); + oled2_init (); tacho_init (); - font8x8_put_str ("ABC fish soup!", 0, 0); + font8x8_put_str (vram_1, "ABC fish soup!", 0, 0); MAP_OUTPUT_PP (WIGGLE); @@ -56,10 +57,13 @@ main (void) char buf[20]; sprintf (buf, "%6u rpm", (unsigned) raw_tacho); - font8x16_put_str (buf, 30, 8); + font8x16_put_str (vram_1, buf, 30, 8); sprintf (buf, "%8d", cnt++); - font8x8_put_str (buf, 0, 24); + font8x8_put_str (vram_1, buf, 0, 24); + + sprintf (buf, "%6d", cnt >> 4); + font21x32_put_str (vram_2, buf, 0); if (cnt & 1) |