toshio masuda
/
Text_LCD_Hello
Text LCD "Hello"
main.cpp
- Committer:
- MasudaToshio
- Date:
- 2013-05-14
- Revision:
- 0:41c8fde7347e
File content as of revision 0:41c8fde7347e:
#include "mbed.h" #include "TextLCD.h" TextLCD lcd(p24, p26, p27, p28, p29, p30); // rs, e, d0-d3 // In BoardOrange, the "RW" signal is unnecessary. ///////////////////////////////////////////////////// // main ///////////////////////////////////////////////////// int main(void) { lcd.cls(); while(1) { lcd.cls(); wait(1); lcd.locate(0,0); lcd.printf("Hello"); wait(1); lcd.locate(0,1); lcd.printf("mbed"); wait(1); } return 0; }