ECE 4180 Final

Dependencies:   mbed wave_player mbed-rtos C12832_lcd 4DGL-uLCD-SE LCD_fonts SDFileSystem

Files at this revision

API Documentation at this revision

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);