Auberon Tatum
/
Accel_test_LCD1Modular
LCD Accelerometer with interrupt fault
header.h@0:298e8a54dc2d, 2010-05-12 (annotated)
- Committer:
- Aubs
- Date:
- Wed May 12 20:40:52 2010 +0000
- Revision:
- 0:298e8a54dc2d
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Aubs | 0:298e8a54dc2d | 1 | #ifndef MBED_HEADER_H |
Aubs | 0:298e8a54dc2d | 2 | #define MBED_HEADER_H |
Aubs | 0:298e8a54dc2d | 3 | |
Aubs | 0:298e8a54dc2d | 4 | //Libraries |
Aubs | 0:298e8a54dc2d | 5 | #include "mbed.h" |
Aubs | 0:298e8a54dc2d | 6 | #include "LIS302.h" |
Aubs | 0:298e8a54dc2d | 7 | #include "MobileLCD.h" |
Aubs | 0:298e8a54dc2d | 8 | #include "BitmapFile.h" |
Aubs | 0:298e8a54dc2d | 9 | #include "bmp.h" |
Aubs | 0:298e8a54dc2d | 10 | |
Aubs | 0:298e8a54dc2d | 11 | static LIS302 acc(p11,p12,p13,p14); //define pinouts for accelerometer |
Aubs | 0:298e8a54dc2d | 12 | static MobileLCD lcd(p5,p6,p7,p8,p9); //define pinouts for LCD |
Aubs | 0:298e8a54dc2d | 13 | static Serial pc(USBTX,USBRX); //define pinouts for USB comms if needed |
Aubs | 0:298e8a54dc2d | 14 | static InterruptIn but1 (p21); |
Aubs | 0:298e8a54dc2d | 15 | static InterruptIn but2 (p22); |
Aubs | 0:298e8a54dc2d | 16 | static InterruptIn but3 (p23); |
Aubs | 0:298e8a54dc2d | 17 | |
Aubs | 0:298e8a54dc2d | 18 | //Master Function List |
Aubs | 0:298e8a54dc2d | 19 | void Graphic(void); |
Aubs | 0:298e8a54dc2d | 20 | void menuscroll(void); |
Aubs | 0:298e8a54dc2d | 21 | void Select(void); |
Aubs | 0:298e8a54dc2d | 22 | void menuscreen(void); |
Aubs | 0:298e8a54dc2d | 23 | void Precise(void); |
Aubs | 0:298e8a54dc2d | 24 | void SigCon(void); |
Aubs | 0:298e8a54dc2d | 25 | void calibrate(void); |
Aubs | 0:298e8a54dc2d | 26 | |
Aubs | 0:298e8a54dc2d | 27 | #endif |
Aubs | 0:298e8a54dc2d | 28 | |
Aubs | 0:298e8a54dc2d | 29 |