new version of AL96_OT

Dependencies:   mbed LCD_DISCO_F469NI TS_DISCO_F469NI BSP_DISCO_F469NI

Revision:
1:309cda84edd4
Parent:
0:c980456a5562
Child:
2:ee10ee4002d5
diff -r c980456a5562 -r 309cda84edd4 functions.h
--- a/functions.h	Wed May 30 14:59:27 2018 +0000
+++ b/functions.h	Fri Jun 01 10:56:20 2018 +0000
@@ -102,7 +102,7 @@
     lcd.SetBackColor(light_sky_blue);
     lcd.SetFont(&Font24);
     lcd.SetTextColor(black);
-    lcd.DisplayStringAt(670, LINE(0), (uint8_t *)"Ver 2.0", LEFT_MODE);
+    lcd.DisplayStringAt(670, LINE(0), (uint8_t *)"Ver 2.a", LEFT_MODE);
     Lampadina_acceso();
     wait(0.1);
     Lampadina_spento();
@@ -178,7 +178,7 @@
     }
     
     //per prova da togliere dopo
-    for (int i=7; i>=0; i--) {  // D7,D6,.....,D1,D0
+    for (int i=3; i>=0; i--) {  // D7,D6,.....,D1,D0
         sprintf((char*)text, "%d", myDataIn[0+i]);
         lcd.DisplayStringAt(580+20*i,LINE(8), (uint8_t *)&text, LEFT_MODE);
     }
@@ -405,9 +405,10 @@
         lcd.DisplayStringAt(10, LINE(18), (uint8_t *)"CLOSE THE  DOOR PLEASE   ", LEFT_MODE);
         stato_porta=1;
     }
-    lcd.DisplayStringAt(10, LINE(18), (uint8_t *)"                         ", LEFT_MODE);
-*/    
+    lcd.DisplayStringAt(10, LINE(18), (uint8_t *)"                         ", LEFT_MODE);  
     return stato_porta;
+    */
+    return 0;
 }
 //------------------------------------------------------------------------------
 ///Tappo caffè