Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BMI160 SPI_STMPE610 USBDevice UniGraphic max32630fthr
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 |
diff -r d810dbdd716b -r 43de31beea45 SPI_STMPE610.lib --- 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
diff -r d810dbdd716b -r 43de31beea45 main.cpp
--- 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: