Allen Litton
/
BreakoutBoardDemo
Demo Application for the Celeritous Breakout Board
Diff: defines.h
- Revision:
- 0:1a3da73fe36a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/defines.h Fri May 18 03:55:10 2012 +0000 @@ -0,0 +1,20 @@ +//Celeritous Technical Services, Corp. 2012 +//Mattehw R. Gattis + +#define NAV_UP 0x01 +#define NAV_DOWN 0x02 +#define NAV_LEFT 0x04 +#define NAV_RIGHT 0x08 +#define NAV_PRESS 0x10 + +BusIn NAVIn(p22, + p24, + p23, + p25, + p26); + +InterruptIn NAV_UP_int(p22), + NAV_DOWN_int(p24), + NAV_LEFT_int(p23), + NAV_RIGHT_int(p25), + NAV_PRESS_int(p26); \ No newline at end of file