use VS1033(MP3 decoder) and UL024TF(TFTLCD)

Dependencies:   TFTLCDwithFastIO FastIO SDFileSystem TouchPanel VS1033 mbed

Revision:
0:5f0e931ae677
Child:
2:0090839c8276
--- /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 )
+    {
+
+    }
+}