David Siorpaes / Mbed 2 deprecated HelloWorld_6180XA1

Dependencies:   X_NUCLEO_6180XA1 mbed

Fork of HelloWorld_6180XA1 by ST

Files at this revision

API Documentation at this revision

Comitter:
gallonm
Date:
Mon Nov 02 15:45:36 2015 +0000
Parent:
22:bb440c864489
Child:
24:018a59122fe3
Commit message:
Updated DisplayRefresh function

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Mon Nov 02 15:18:12 2015 +0000
+++ b/main.cpp	Mon Nov 02 15:45:36 2015 +0000
@@ -61,11 +61,11 @@
          sprintf(str,"%d",data_sensor_top.range_mm);
          board->display->DisplayString(str, strlen(str));
       }
-      else
+      /*else
       {
          sprintf(str,"%s","----");
          board->display->DisplayString(str, strlen(str));
-      }
+      }*/
    }
    else if(op_mode==als_continuous_interrupt)
    {
@@ -74,11 +74,11 @@
          sprintf(str,"%d",data_sensor_top.lux);
          board->display->DisplayString(str, strlen(str));
       }
-      else
+      /*else
       {
          sprintf(str,"%s","----");
          board->display->DisplayString(str, strlen(str));
-      }
+      }*/
    }    
 }