exemple d'utilisation de l'IHM NBOARD (IUT Cachan).
Dependencies: IHM_NBOARD mbed
Diff: Nboard.cpp
- Revision:
- 14:4df60a00f825
- Parent:
- 12:af99168c1a11
diff -r 6349420077de -r 4df60a00f825 Nboard.cpp --- a/Nboard.cpp Sat Nov 05 17:28:35 2016 +0000 +++ b/Nboard.cpp Mon Nov 07 09:31:27 2016 +0000 @@ -20,7 +20,14 @@ wait(2); ihm.LCD_clear(); while(1) { - wait(0.1); + wait(2); + ihm.LCD_gotoxy(1,15); + ihm.LCD_printf("x"); + ihm.LCD_gotoxy(1,14); + ihm.LCD_printf("Y"); + wait(2); + ihm.LCD_gotoxy(1,15); + ihm.LCD_printf("B"); codeur=ihm.COD_read(); jog=ihm.JOG_read(); ihm.BAR_set((UINT16)(codeur));