![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
First Draft, serial print change based on distance
Diff: main.h
- Revision:
- 14:837945ccd8c0
- Parent:
- 13:cc99df342c7f
- Child:
- 15:d8ff594535fc
--- a/main.h Thu Feb 03 21:43:40 2022 +0000 +++ b/main.h Thu Feb 03 21:58:22 2022 +0000 @@ -16,6 +16,7 @@ #include "N5110.h" #include "Joystick.h" #include "ultrasonic.h" +#include "beep.h" /***************************************************************************//** * @@ -31,6 +32,8 @@ InterruptIn Start(PTC5); InterruptIn Back(PTB19); +Beep buzzer(PTC10); + BusOut LEDS(PTA1,PTA2,PTC2,PTC3,PTC4,PTD3); N5110 lcd(PTC9,PTC0,PTC7,PTD2,PTD1,PTC11);