TFT SEEED STUDIO 2.8
Dependencies: SeeedStudioTFTv2 TFT_fonts mbed
Fork of Seeed_TFT_Touch_Shield by
Diff: main.cpp
- Revision:
- 5:bc6dc122fc9c
- Parent:
- 2:5c2f6ff36ff1
--- a/main.cpp Fri Feb 13 09:39:48 2015 +0000 +++ b/main.cpp Wed Jan 20 10:11:27 2016 +0000 @@ -49,9 +49,9 @@ TFT.cls(); //Print a welcome message - TFT.set_font((unsigned char*) Arial12x12); + TFT.set_font((unsigned char*) Arial24x23); TFT.locate(0,0); - TFT.printf("Hello Mbed"); + TFT.printf("BTS snec 2015"); //Wait for 5 seconds wait(5.0); @@ -60,7 +60,7 @@ TFT.cls(); TFT.set_font((unsigned char*) Arial24x23); TFT.locate(100,100); - TFT.printf("Graphic"); + TFT.printf("Test Graphique"); TFT.line(0,0,100,0,Green); TFT.line(0,0,0,200,Green); @@ -90,11 +90,11 @@ TFT.printf("Different Fonts:"); TFT.set_font((unsigned char*) Neu42x35); TFT.locate(0,30); - TFT.printf("Hello Mbed 1"); + TFT.printf("Test 1"); TFT.set_font((unsigned char*) Arial24x23); TFT.locate(20,80); - TFT.printf("Hello Mbed 2"); + TFT.printf("Test 2"); TFT.set_font((unsigned char*) Arial12x12); TFT.locate(35,120); - TFT.printf("Hello Mbed 3"); + TFT.printf("Test 3"); }