Quentin LAM
/
ex10
Exo
main.cpp
- Committer:
- Quent1nl
- Date:
- 2018-05-29
- Revision:
- 0:64f23204b33e
File content as of revision 0:64f23204b33e:
#include "Nboard.h" #include "IHM.h" IHM ihm; int main() { short cpt1 = 0; short cpt2 = 0; while(1) { if (bou1 == 0) { while(bou1==0){} cpt1++; ihm.LCD_gotoxy(0,0); ihm.LCD_printf(" CPT1 = %hd",cpt1); } if (bou2 == 0) { while(bou2==0){} cpt2++; ihm.LCD_gotoxy(1,0); ihm.LCD_printf(" CPT2 = %hd",cpt2); } } }