use VS1033(MP3 decoder) and UL024TF(TFTLCD)

Dependencies:   TFTLCDwithFastIO FastIO SDFileSystem TouchPanel VS1033 mbed

Files at this revision

API Documentation at this revision

Comitter:
nameless129
Date:
Sun Jul 12 03:17:06 2015 +0000
Child:
1:fae9cad8108c
Commit message:
first commit

Changed in this revision

TFTLCD.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
mbed-src.lib Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/TFTLCD.lib	Sun Jul 12 03:17:06 2015 +0000
@@ -0,0 +1,1 @@
+http://developer.mbed.org/users/ttodorov/code/TFTLCD/#45e8aa1fc420
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Jul 12 03:17:06 2015 +0000
@@ -0,0 +1,25 @@
+// include the library, this will also pull in the header for the provided fonts
+#include "ili9328.h"
+ 
+// prepare the data bus for writing commands and pixel data
+BusOut dataBus( P1_28,P2_3,P1_18,P1_24,P1_19,P1_26,P1_27,P1_25 ); // 16 pins
+// create the lcd instance
+//(PinName CS, PinName RESET, PinName RS, PinName WR, BusOut *DATA_PORT, PinName BL=NC, PinName RD=NC, backlight_t blType=Constant, float defaultBackLightLevel=1.0)
+ILI9328_LCD lcd( P0_12, P0_11, P0_13, P0_14, &dataBus, NC, P1_9 ); // control pins and data bus
+ 
+int main()
+{
+    // initialize display - place it in standard portrait mode and set background to black and
+    //                      foreground to white color.
+    lcd.Initialize(LANDSCAPE,RGB16);
+    // set current font to the smallest 8x12 pixels font.
+    lcd.SetBackground(COLOR_BLUE);
+    lcd.FillScreen(-1);
+    lcd.SetFont( &TerminusFont );
+    lcd.Print( "STOP:XXXXXXXX", CENTER, 25 ); // align text to center horizontally and use starndard colors
+    
+    while ( 1 )
+    {
+
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-src.lib	Sun Jul 12 03:17:06 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed-src/#3d189f3acffd