Prog Demo Version Mai 2018

Dependencies:   IHM_V2 mbed

Fork of NBoard_IHM_V2 by NBoard

Revision:
11:7cfa7c991676
Parent:
10:4c838a5a5e42
Child:
12:af99168c1a11
--- a/Nboard.cpp	Sat Oct 01 12:26:12 2016 +0000
+++ b/Nboard.cpp	Sat Oct 01 13:04:07 2016 +0000
@@ -5,7 +5,7 @@
 {
     unsigned char i=0,j;
     float pi=4*atan(1.0);
-    pc.printf("debut");
+    pc.printf("Hello World  \n");
     ihm.LCD_printf("Hello World      ");
     ihm.LCD_gotoxy(1,0);
     ihm.LCD_printf("PI= %f",pi);  // test affichage float
@@ -18,7 +18,6 @@
     ihm.LCD_clear();
     while(1) {
         wait(0.1);
-        printf("cod");
         i=ihm.COD_read();      
         j=ihm.JOG_read();
         ihm.BAR_set((UINT16)(i));
@@ -26,5 +25,6 @@
         ihm.LCD_printf("Jog=%02d",j);
         ihm.LCD_gotoxy(1,0);
         ihm.LCD_printf("Cod=%03d",i);
+        pc.printf("Jog=%02d  Cod=%03d \n",j,i); 
     }
 }