AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Committer:
sillevl
Date:
Sat Dec 13 10:11:24 2014 +0000
Revision:
4:2c91c9eccf3a
Child:
11:50572814f73e
refactored startup code and added class placeholders for interface devices (board)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sillevl 4:2c91c9eccf3a 1 #ifndef KEYBOARD_H
sillevl 4:2c91c9eccf3a 2 #define KEYBOARD_H
sillevl 4:2c91c9eccf3a 3
sillevl 4:2c91c9eccf3a 4 #include "mbed.h"
sillevl 4:2c91c9eccf3a 5
sillevl 4:2c91c9eccf3a 6 struct KeyboardPins{
sillevl 4:2c91c9eccf3a 7 PinName rows[4];
sillevl 4:2c91c9eccf3a 8 PinName cols[3];
sillevl 4:2c91c9eccf3a 9 };
sillevl 4:2c91c9eccf3a 10
sillevl 4:2c91c9eccf3a 11 class Keyboard{
sillevl 4:2c91c9eccf3a 12 public:
sillevl 4:2c91c9eccf3a 13 Keyboard(KeyboardPins keyboardPins);
sillevl 4:2c91c9eccf3a 14
sillevl 4:2c91c9eccf3a 15 };
sillevl 4:2c91c9eccf3a 16
sillevl 4:2c91c9eccf3a 17 #endif