http://mbed.org/users/shintamainjp/notebook/textlcd_sr4_en/

Dependencies:   mbed TextLCD_SR4

main.cpp

Committer:
shintamainjp
Date:
2010-10-25
Revision:
0:5b7a14896b97

File content as of revision 0:5b7a14896b97:

#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++);
    }
}