Uses the SRF02 UDS and displays distance in a variety of ways on the N5110 LCD.
Dependencies: N5110WN PowerControl SRF02 mbed
Diff: main.h
- Revision:
- 11:2b3d646e3bfb
- Parent:
- 9:163159830eaf
diff -r a32b1216d4ed -r 2b3d646e3bfb main.h --- a/main.h Fri May 08 08:51:12 2015 +0000 +++ b/main.h Fri May 08 09:08:25 2015 +0000 @@ -99,7 +99,7 @@ float unitX=1; /*!< Float that stores the unit multiple if 1 unit is cm, 0.01 = m, 10 = mm */ const char *units ="cm"; /*!< string of characters that stores the unit */ int visual =0;/*!< integer that stores the visual display mode */ -int D=0; /*!< integer that helps store data in an array */ + // ---- Flags ---- int timerFlag=0; /*!< flag used to trigger the timer ISR */ int timer2Flag=0; /*!< flag used to trigger the 2nd timer ISR */