Console Serial IO con display OLED e seriale asincrona

Dependencies:   mbed BufferedSerial AserialIOFuncLib SSD1306 TerminalPlusV2

Fork of SerialIO by Max Scordamaglia

Console Serial IO con display OLED e seriale asincrona

Revision:
13:92303a41947a
Parent:
12:78f6112c900f
Child:
15:7d756492af23
--- a/main.cpp	Sun Aug 16 23:14:03 2015 +0000
+++ b/main.cpp	Sun Aug 16 23:20:44 2015 +0000
@@ -15,6 +15,7 @@
 genFunctions fnz;
 
 //var
+int cont=0;
 int dispType=0; //0:oled  1:lcd
 
 //------------ Funzioni -------------
@@ -33,7 +34,10 @@
 
     mybutton.fall(&pressed);
     sc.emptyFrame();
-    sc.banner();
+    sc.banner();    
+    // display
+    initDisp(dispType);
+    setFontDisp(dispType,'N');
 
     while(1) {
         ardser.attach(&callback);