Shinichiro Nakamura / TextLCD_SR4

Dependents:   TextLCD_SR4_TestProgram ServoInterfaceBoardExample1

main.cpp

Committer:
shintamainjp
Date:
2010-10-25
Revision:
1:7c375c1ac22c

File content as of revision 1:7c375c1ac22c:

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