Auberon Tatum
/
Accel_test_LCD1Modular
LCD Accelerometer with interrupt fault
Diff: header.h
- Revision:
- 0:298e8a54dc2d
diff -r 000000000000 -r 298e8a54dc2d header.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/header.h Wed May 12 20:40:52 2010 +0000 @@ -0,0 +1,29 @@ +#ifndef MBED_HEADER_H +#define MBED_HEADER_H + +//Libraries +#include "mbed.h" +#include "LIS302.h" +#include "MobileLCD.h" +#include "BitmapFile.h" +#include "bmp.h" + +static LIS302 acc(p11,p12,p13,p14); //define pinouts for accelerometer +static MobileLCD lcd(p5,p6,p7,p8,p9); //define pinouts for LCD +static Serial pc(USBTX,USBRX); //define pinouts for USB comms if needed +static InterruptIn but1 (p21); +static InterruptIn but2 (p22); +static InterruptIn but3 (p23); + +//Master Function List +void Graphic(void); +void menuscroll(void); +void Select(void); +void menuscreen(void); +void Precise(void); +void SigCon(void); +void calibrate(void); + +#endif + +