programme pour l'ecran TFT-ST7735
Dependencies: mbed DmTftLibrary
Diff: main.cpp
- Revision:
- 6:6acbe3629822
- Parent:
- 5:47192882d9d0
- Child:
- 7:3da729e3e2c6
diff -r 47192882d9d0 -r 6acbe3629822 main.cpp --- a/main.cpp Mon Oct 12 08:42:18 2015 +0000 +++ b/main.cpp Tue Feb 12 11:02:05 2019 +0000 @@ -181,22 +181,27 @@ log("init tft \r\n"); tft.init(); - tft.drawString(0,32,"www."); - tft.drawString(12,48,"displaymodule"); - tft.drawString(88,64,".com"); + tft.drawString(0,32,"bonjour."); + tft.drawString(0,48,"je suis cubya "); + tft.drawString(0,64,"que faite vous ?"); + tft.drawString(0,80,"je suis interactif"); + tft.drawString(0,96,"tout savoir sur "); + tft.drawString(0,112,"www.cubya.com "); + tft.drawString(0,128," "); + tft.drawString(0,144," "); - tft.drawRectangle(20,85,40,105,GREEN); - tft.drawCircle(60,95,10,BLUE); - tft.drawTriangle(90,85, 80,105, 100,105, RED); + //tft.drawRectangle(20,85,40,105,GREEN); + //tft.drawCircle(60,95,10,BLUE); + //tft.drawTriangle(90,85, 80,105, 100,105, RED); + //tft.drawTriangle(100,95, 90,115, 110,115, RED); if (! bmpReadHeader()) { log("bad bmp\r\n"); return -1; } - drawBmpFromFlash(0, 0); - drawBmpFromFlash(0, 130); + while(1) { } -} +} \ No newline at end of file