AirsoftTimer software based on mbed

Dependencies:   mbed TextLCD keypad

Revision:
7:baf207d88603
Parent:
4:2c91c9eccf3a
Child:
11:50572814f73e
--- a/main.cpp	Sat Dec 13 12:32:12 2014 +0000
+++ b/main.cpp	Sat Dec 13 12:43:59 2014 +0000
@@ -5,19 +5,20 @@
 #include "Airsofttimer.h"
 #include "TextLCD.h"
 
+PinName buttonpin = P0_5;
+PinName keypin = P0_4;
+PinName buzzerpin = P2_3;
 LedPins ledpins = {P2_4, P2_4}; // left, right
-
 KeyboardPins keyboardpins = {{P0_8, P0_9, P0_10, P0_11}, {P0_16, P0_17, P0_18}};
-
 LcdPins lcdpins = {P1_30, P1_31, P0_23, P0_24, P0_25, P0_26};
 
 Pinouts pinouts = {
-    P0_5, // button
-    P0_4, // key
-    ledpins, // leds
-    P2_3, // buzzer
+    buttonpin,
+    keypin,
+    ledpins, 
+    buzzerpin, 
     keyboardpins,
-    lcdpins// lcd
+    lcdpins
 };
 
 int main()