![](/media/cache/profiles/0d382a5fec7012c843c1bdfb0935c9a6.50x50_q85.jpg)
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
Revision 3:43de31beea45, committed 2017-09-22
- Comitter:
- Rhyme
- Date:
- Fri Sep 22 05:35:56 2017 +0000
- Parent:
- 2:d810dbdd716b
- Commit message:
- some backlight control added
Changed in this revision
SPI_STMPE610.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SPI_STMPE610.lib Fri Sep 22 05:12:59 2017 +0000 +++ b/SPI_STMPE610.lib Fri Sep 22 05:35:56 2017 +0000 @@ -1,1 +1,1 @@ -http://os.mbed.com/users/Rhyme/code/SPI_STMPE610/#6740dfc84a8c +http://mbed.org/users/Rhyme/code/SPI_STMPE610/#6740dfc84a8c
--- 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: