E_paper, E_ink, Screen size 1.54", resolution 200x200, 4 wire spi, Waveshare, Black and White, Kl25Z, 8 wire print connector, supply 3.3 Volt, IL0373 Controller, font size is 8, 12, 16 and 24.

Dependencies:   mbed

Revision:
4:8373c3e4f170
Parent:
3:e4399b5ceb4b
Child:
6:469fb6b0d26d
diff -r e4399b5ceb4b -r 8373c3e4f170 main.cpp
--- a/main.cpp	Tue Mar 27 17:59:56 2018 +0000
+++ b/main.cpp	Wed Mar 28 08:26:11 2018 +0000
@@ -131,12 +131,14 @@
   epd.SetFrameMemory(IMAGE_DATA);
   epd.DisplayFrame();
 
-  time_start_ms = millis();
+  //time_start_ms = millis();
+  time_start_ms = 0;
 }
 
 void loop() {
   // put your main code here, to run repeatedly:
-  time_now_s = (millis() - time_start_ms) / 1000;
+  //time_now_s = (millis() - time_start_ms) / 1000;
+  time_now_s = 999;
   char time_string[] = {'0', '0', ':', '0', '0', '\0'};
   time_string[0] = time_now_s / 60 / 10 + '0';
   time_string[1] = time_now_s / 60 % 10 + '0';
@@ -156,7 +158,7 @@
 }
 
 int main() {
-    setup()
+    setup();
     
     while(1) {
         myled = 1;