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
UI/Buttons/Buttons.h
- Committer:
- shimniok
- Date:
- 2013-05-27
- Revision:
- 0:a6a169de725f
File content as of revision 0:a6a169de725f:
#ifndef __BUTTONS_H #define __BUTTONS_H #define NEXT_BUTTON 1 #define PREV_BUTTON 2 #define SELECT_BUTTON 3 class Buttons { public: Buttons(); void init(void); void nextPressed(void); void prevPressed(void); void selectPressed(void); int which; bool pressed; }; #endif