http://mbed.org/users/shintamainjp/notebook/textlcd_sr4_en/
Dependencies: mbed TextLCD_SR4
Diff: main.cpp
- Revision:
- 0:5b7a14896b97
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 25 22:42:04 2010 +0000 @@ -0,0 +1,17 @@ +#include "mbed.h" +#include "TextLCD_SR4.h" + +TextLCD_SR4 lcd(p29, p30, p28, p27); + +int main() { + lcd.locate(0, 0); + lcd.printf(" TextLCD_SR4 "); + lcd.locate(0, 1); + lcd.printf(" Library test "); + wait(5); + int n = 0; + while (1) { + lcd.locate(0, 1); + lcd.printf("count:%10d", n++); + } +}