My first mbed-os 5.x test project with MAX32630FTHR and Adafruit 2.4" TFT with touch.
Dependencies: BMI160 SPI_STMPE610 USBDevice UniGraphic max32630fthr
My first test program of mbed-os 5.x, using MAX32630FTHR and Adafruit 2.4" TFT with Touch.
On 22-Sep-2017 Monitoring both Acc and Gyr added to the screen 3 Controlling the backlight via STMPE610 GPIO-2 added
Diff: main.cpp
- Revision:
- 3:43de31beea45
- Parent:
- 2:d810dbdd716b
--- a/main.cpp Fri Sep 22 05:12:59 2017 +0000 +++ b/main.cpp Fri Sep 22 05:35:56 2017 +0000 @@ -340,12 +340,14 @@ uint16_t x, y, z ; init_hardware() ; + backlight(0) ; initTFT() ; + backlight(1) ; #if USE_TTY tty->printf("MAX32630 test (%s)\n", __DATE__) ; #endif - tft->cls() ; +// tft->cls() ; for(;;) { switch(page) { case 0: