![](/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:
- 7:ee7f2c33d45d
- Parent:
- 5:eaf6008bf60b
- Child:
- 8:bbe3e332fe94
diff -r b196b0a8f337 -r ee7f2c33d45d main.cpp --- a/main.cpp Tue Jan 17 19:12:33 2017 +0000 +++ b/main.cpp Tue Jan 17 19:16:38 2017 +0000 @@ -35,7 +35,7 @@ led2 = 0; //avg = compass_config(); //temperature_config(); - //acceleration_n(); + //configure_acceleration(); while(1){ myLCD.set_font((unsigned char*) Arial24x23); //myLCD.foreground(Black); @@ -50,6 +50,10 @@ myLCD.locate(260, 100); myLCD.printf("T"); myLCD.circle(260,100,30,Red); + /* if ( touch stuff equals A){ + getacceleration() + } + /*wait(1); i2c_port.start(); // forces start condition if (interupt == 1){