AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
0:4a0929f1b4fd
Child:
4:2c91c9eccf3a
diff -r 000000000000 -r 4a0929f1b4fd Airsofttimer.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Airsofttimer.h	Thu Feb 07 20:50:33 2013 +0000
@@ -0,0 +1,31 @@
+
+
+#ifndef _AIRSOFTTIMER_H
+#define _AIRSOFTTIMER_H
+
+#include "mbed.h"
+#include "TextLCD.h" 
+
+// PUT THIS ALL IN A CLASS !!!!!!!
+
+// pinnames see: http://mbed.org/users/mbed_official/code/mbed/file/0954ebd79f59/LPC1768/PinNames.h
+
+class Airsofttimer
+{
+    Airsofttimer();
+    //TextLCD lcd(p10, p12, p15, p16, p29, p30); // rs, e, d4-d7
+
+    PinName buttonPin;  //P0.4
+    PinName keyPin;     //P0.5
+    PinName ledAPin;    //P2.4
+    PinName ledBPin;    //P2.5
+    PinName buzzerPin;  //P2.3
+    PinName keyboardRowPins[4]; // ROWS=P0.8 -> P0.11
+    PinName keyboardColPins[3]; // COLS=P0.16 -> P0.18
+    PinName lcdPins[6];         // E=P1.31, RS=P1.30, D4=P0.23 -> D7=P0.26
+
+//lcd.printf("AirsoftTimer\n");
+
+};
+
+#endif
\ No newline at end of file