music mixer code
Dependencies: mbed wave_player mbed-rtos SimpleRGB 4DGL-uLCD-SE PinDetect
Diff: main.cpp
- Revision:
- 7:f3eb2b2c295d
- Parent:
- 6:648cd6a6fae2
- Child:
- 8:38419fb4e242
diff -r 648cd6a6fae2 -r f3eb2b2c295d main.cpp --- a/main.cpp Tue Oct 11 02:23:07 2016 +0000 +++ b/main.cpp Tue Oct 11 02:47:49 2016 +0000 @@ -101,6 +101,12 @@ } } +void uLCD_video_thread(void const *args) { + uLCD.media_init(); + uLCD.set_sector_address(0x001D, 0x4C42); + uLCD.display_video(0,0); +} + RGBLed rgbLED(p21, p22, p23); // object to use the RGB LED const LightColor green(0.0, 0.8, 0.0); // adjust brightness for green const LightColor yellow(1.0, 0.8, 0.0); @@ -153,6 +159,7 @@ Thread thread2(uLCD_reboot_thread); //Thread thread3(uLCD_status_thread); Thread thread4(rainbow_led_thread); + //Thread thread5(uLCD_video_thread); // - 2