ECE 4180 Final

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

Revision:
14:6f5432bb44c0
Parent:
11:362e25f659a5
Child:
16:13b65f6139be
--- 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);