Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.cpp
- Committer:
- Suky
- Date:
- 2011-01-30
- Revision:
- 0:edaeff58bed5
File content as of revision 0:edaeff58bed5:
#include "mbed.h"
#include "LCDTFT.h"
BusOut MyBus(p13,p14,p15,p16,p17,p18,p19,p20,p30,p29,p28,p27,p26,p25,p24,p23);
LCDTFT MyLCD(p5,p6,p7,p22,p21,&MyBus);
int main(){
MyLCD.vLCDTFTInit();
MyLCD.vLCDTFTFillScreen(ColorWhite);
MyLCD.vLCDTFTSetParametersPrintf(10,20,10,229,2,0x0000);
MyLCD.printf("Hola mbed!!!");
wait_ms(2000);
MyLCD.vLCDTFTRectangle(0,0,239,319,1,0x0000);
MyLCD.vLCDTFTCircle(120,160,110,0,0xFFFF);
MyLCD.vDrawImageBMP24Bits("IMG0.BMP");
while(1){
}
}