AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Diff: board/Board.h
- Revision:
- 5:be598835bab0
- Child:
- 16:e8e96bf22df1
diff -r 2c91c9eccf3a -r be598835bab0 board/Board.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/board/Board.h Sat Dec 13 12:24:37 2014 +0000 @@ -0,0 +1,37 @@ +#ifndef BOARD_H +#define BOARD_H + +#include "LCD.h" +#include "Leds.h" +#include "Key.h" +#include "Buzzer.h" +#include "Button.h" +#include "Keyboard.h" + +// class for debug leds +// class for eeprom memory +// class for wireless (nordic chip or xbee) + +struct Pinouts{ + PinName button; + PinName key; + LedPins leds; + PinName buzzer; + KeyboardPins keyboard; + LcdPins lcd; +}; + +class Board{ + public: + Board(Pinouts pinouts); + + LCD* lcd; + Leds* leds; + Key* key; + Button* button; + Keyboard* keyboard; + Buzzer* buzzer; + +}; + +#endif \ No newline at end of file