Code for autonomous rover for Sparkfun AVC. DataBus won 3rd in 2012 and the same code was used on Troubled Child, a 1986 Jeep Grand Wagoneer to win 1st in 2014.
Dependencies: mbed Watchdog SDFileSystem DigoleSerialDisp
Diff: UI/Buttons/Buttons.cpp
- Revision:
- 12:5dfa1ab47838
- Parent:
- 9:39c0ff43332b
- Child:
- 23:a34af501ea89
--- a/UI/Buttons/Buttons.cpp Thu Nov 29 16:35:31 2018 +0000 +++ b/UI/Buttons/Buttons.cpp Thu Nov 29 16:50:46 2018 +0000 @@ -1,8 +1,9 @@ +#include "devices.h" #include "Buttons.h" #include "PinDetect.h" PinDetect nextButton(BUTTONNEXT); -PinDetect selectButton(BUTTONSELECT); +PinDetect selectButton(BUTTONSELECT); // Input selectButton PinDetect prevButton(BUTTONPREV); Buttons::Buttons(void): which(0), pressed(false)