![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Mini Project 10: Displaying stuff from day 7
Dependencies: DmTouch_UniGraphic UniGraphic mbed
Diff: main.cpp
- Revision:
- 5:eaf6008bf60b
- Parent:
- 4:cb3a18844abc
- Parent:
- 3:dbb843b8d2f4
- Child:
- 7:ee7f2c33d45d
--- a/main.cpp Tue Jan 17 18:56:57 2017 +0000 +++ b/main.cpp Tue Jan 17 18:58:27 2017 +0000 @@ -23,6 +23,7 @@ DigitalOut led1(LED1); // configures mbed internal LED 1 DigitalOut led2(LED2); // configures mbed internal LED 2 DigitalIn interupt(p20); // sets accelerometer interupt as digital input at pin 20; +Timer sensor_timer; DmTouch touch(DmTouch::DM_TFT24_104, p5, p6, p7, p8, p9); PinName dataBus[]= {p30, p29, p28, p27, p26, p25, p24, p23}; ILI932x myLCD(BUS_8, dataBus, p15, p17, p16, p14, p20, "myLCD", 240, 320); // Bus 8 bit, bus pin array, CS, RST, DC, WR, RD, name, xpixels, ypixels