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: mbed wave_player mbed-rtos C12832_lcd 4DGL-uLCD-SE LCD_fonts SDFileSystem
Revision 14:6f5432bb44c0, committed 2019-12-05
- Comitter:
- yqin70
- Date:
- Thu Dec 05 20:30:25 2019 +0000
- Parent:
- 13:548fdf1a9736
- Child:
- 15:ebe9fb3aaf0f
- Child:
- 16:13b65f6139be
- Commit message:
- intro screen added
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Dec 05 05:13:16 2019 +0000
+++ b/main.cpp Thu Dec 05 20:30:25 2019 +0000
@@ -140,8 +140,14 @@
}
int main() {
-
+ lcd_mutex.lock();
uLCD.baudrate(3000000);
+ uLCD.cls();
+ uLCD.media_init();
+ uLCD.set_sector_address(0x0077, 0x4002);
+ uLCD.display_video(0,0);
+ wait(4);
+ lcd_mutex.unlock();
thread1.start(homescreen_thread);
thread2.start(joystick_thread);
thread3.start(pbcontrol_thread);
