displaying on SSD1306, 128x64 pixels OLED

Dependencies:   microbit

Revision:
6:c69f08f464b5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/example_secClock.cpp	Sun Feb 23 01:57:35 2020 +0000
@@ -0,0 +1,12 @@
+#include "MicroBit.h"
+#include "Display.h"
+#include "common.h"
+
+void example_secClock() {
+    //  change to see - example  17:31:00 becomes    
+    uint32_t secs = 17*3600+31*60-uBit.systemTime()/1000;
+    while (true) {
+        display.vertSecClock(secs+uBit.systemTime()/1000);
+        uBit.sleep(1000);
+        }
+}