AirsoftTimer software based on mbed
Dependencies: mbed TextLCD keypad
Airsofttimer.cpp@0:4a0929f1b4fd, 2013-02-07 (annotated)
- Committer:
- sillevl
- Date:
- Thu Feb 07 20:50:33 2013 +0000
- Revision:
- 0:4a0929f1b4fd
- Child:
- 4:2c91c9eccf3a
Hello world LED ! working !
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sillevl | 0:4a0929f1b4fd | 1 | |
sillevl | 0:4a0929f1b4fd | 2 | #include "Airsofttimer.h" |
sillevl | 0:4a0929f1b4fd | 3 | |
sillevl | 0:4a0929f1b4fd | 4 | |
sillevl | 0:4a0929f1b4fd | 5 | /*Airsofttimer::Airsofttimer(){ |
sillevl | 0:4a0929f1b4fd | 6 | |
sillevl | 0:4a0929f1b4fd | 7 | buttonPin = P0_4; //P0.4 |
sillevl | 0:4a0929f1b4fd | 8 | keyPin = P0_5; //P0.5 |
sillevl | 0:4a0929f1b4fd | 9 | ledAPin = P2_4; //P2.4 |
sillevl | 0:4a0929f1b4fd | 10 | ledBPin = P2_5; //P2.5 |
sillevl | 0:4a0929f1b4fd | 11 | buzzerPin = P2_3; //P2.3 |
sillevl | 0:4a0929f1b4fd | 12 | keyboardRowPins = {P0_8 , P0_9 , P0_10, P0_11}; // ROWS=P0.8 -> P0.11 |
sillevl | 0:4a0929f1b4fd | 13 | keyboardColPins = {P0_16, P0_17, P0_18}; // COLS=P0.16 -> P0.18 |
sillevl | 0:4a0929f1b4fd | 14 | lcdPins = {P1_31, P1_30, P0_23, P0_24, P0_23, P0_26}; // E=P1.31, RS=P1.30, D4=P0.23 -> D7=P0.26 |
sillevl | 0:4a0929f1b4fd | 15 | |
sillevl | 0:4a0929f1b4fd | 16 | }*/ |