Code for autonomous ground vehicle, Data Bus, 3rd place winner in 2012 Sparkfun AVC.

Dependencies:   Watchdog mbed Schedule SimpleFilter LSM303DLM PinDetect DebounceIn Servo

Committer:
shimniok
Date:
Wed Jun 20 14:57:48 2012 +0000
Revision:
0:826c6171fc1b
Updated documentation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
shimniok 0:826c6171fc1b 1 #ifndef __BUTTONS_H
shimniok 0:826c6171fc1b 2 #define __BUTTONS_H
shimniok 0:826c6171fc1b 3
shimniok 0:826c6171fc1b 4 #define NEXT_BUTTON 1
shimniok 0:826c6171fc1b 5 #define PREV_BUTTON 2
shimniok 0:826c6171fc1b 6 #define SELECT_BUTTON 3
shimniok 0:826c6171fc1b 7
shimniok 0:826c6171fc1b 8 class Buttons {
shimniok 0:826c6171fc1b 9 public:
shimniok 0:826c6171fc1b 10 Buttons();
shimniok 0:826c6171fc1b 11 void init(void);
shimniok 0:826c6171fc1b 12 void nextPressed(void);
shimniok 0:826c6171fc1b 13 void prevPressed(void);
shimniok 0:826c6171fc1b 14 void selectPressed(void);
shimniok 0:826c6171fc1b 15
shimniok 0:826c6171fc1b 16 int which;
shimniok 0:826c6171fc1b 17 bool pressed;
shimniok 0:826c6171fc1b 18 };
shimniok 0:826c6171fc1b 19
shimniok 0:826c6171fc1b 20 #endif