ILI9325 based GR_SAKURA LCD Shield
Dependencies: TFTLCD_8bit mbed-src mbed
Diff: main.cpp
- Revision:
- 6:f7d4a6a500f3
- Parent:
- 5:922253f4e70b
- Child:
- 7:8ba4518ba2f8
--- a/main.cpp Wed Dec 03 16:35:36 2014 +0000 +++ b/main.cpp Wed Dec 03 16:57:50 2014 +0000 @@ -17,5 +17,28 @@ // print something on the screen lcd.Print( "Hello, World!", CENTER, 50); // align text to center horizontally and use starndard colors + + +/* + lcd.ClearScreen(); + +// for(ii=0;ii<240;ii++) +// height = lcd.GetHeight(); +// for(ii=0;ii<lcd.GetHeight1();ii++) + for(ii=0;ii<width;ii++) + { +// lcd.DrawLine(0, 0, lcd.GetWidth1(), ii,COLOR_GREEN); + lcd.DrawLine(0, 0, height, ii,COLOR_GREEN); +// lcd.DrawLine(0, 0, 320, ii,COLOR_GREEN); + ii = ii+10; + } + + lcd.DrawCircle(height/4, width/4, 20, COLOR_GREEN); + + lcd.FillCircle(height/2, width/2, 50, COLOR_GREEN); + + lcd.FillTriangle(height/4, width/4,(height/4)+20, (width/4)+40,(height/4)-20, (width/4)+40, COLOR_RED); +*/ + while ( 1 ) { } } \ No newline at end of file