Allen Litton
/
BreakoutBoardDemo
Demo Application for the Celeritous Breakout Board
defines.h@0:1a3da73fe36a, 2012-05-18 (annotated)
- Committer:
- celeritous
- Date:
- Fri May 18 03:55:10 2012 +0000
- Revision:
- 0:1a3da73fe36a
Celeritous_BreakoutBoardDemo
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
celeritous | 0:1a3da73fe36a | 1 | //Celeritous Technical Services, Corp. 2012 |
celeritous | 0:1a3da73fe36a | 2 | //Mattehw R. Gattis |
celeritous | 0:1a3da73fe36a | 3 | |
celeritous | 0:1a3da73fe36a | 4 | #define NAV_UP 0x01 |
celeritous | 0:1a3da73fe36a | 5 | #define NAV_DOWN 0x02 |
celeritous | 0:1a3da73fe36a | 6 | #define NAV_LEFT 0x04 |
celeritous | 0:1a3da73fe36a | 7 | #define NAV_RIGHT 0x08 |
celeritous | 0:1a3da73fe36a | 8 | #define NAV_PRESS 0x10 |
celeritous | 0:1a3da73fe36a | 9 | |
celeritous | 0:1a3da73fe36a | 10 | BusIn NAVIn(p22, |
celeritous | 0:1a3da73fe36a | 11 | p24, |
celeritous | 0:1a3da73fe36a | 12 | p23, |
celeritous | 0:1a3da73fe36a | 13 | p25, |
celeritous | 0:1a3da73fe36a | 14 | p26); |
celeritous | 0:1a3da73fe36a | 15 | |
celeritous | 0:1a3da73fe36a | 16 | InterruptIn NAV_UP_int(p22), |
celeritous | 0:1a3da73fe36a | 17 | NAV_DOWN_int(p24), |
celeritous | 0:1a3da73fe36a | 18 | NAV_LEFT_int(p23), |
celeritous | 0:1a3da73fe36a | 19 | NAV_RIGHT_int(p25), |
celeritous | 0:1a3da73fe36a | 20 | NAV_PRESS_int(p26); |