Alexandre Boutry / Mbed 2 deprecated lcd_nucleoBranly

Dependencies:   TextLCD mbed

main.cpp

Committer:
aboutry
Date:
2017-10-11
Revision:
0:9e0faf75f451

File content as of revision 0:9e0faf75f451:

#include "mbed.h"
#include "TextLCD.h"
DigitalOut myled(LED1);
TextLCD lcd(D8,D9,D4,D5,D6,D7);
int main()
{
    lcd.printf("NUCLEO F103RB");
    float i=0.0;
    while(1) {
        lcd.locate(0,1);
        lcd.printf("%f",i);
        i=i+0.5;
    wait_ms(200) ;
    }
}