Armand Mallard / Mbed 2 deprecated Branly

Dependencies:   TextLCD mbed

Committer:
Armand80
Date:
Tue Oct 17 08:11:16 2017 +0000
Revision:
0:b3784d62a11e
pour toi quentin

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Armand80 0:b3784d62a11e 1 #include "mbed.h"
Armand80 0:b3784d62a11e 2 #include "TextLCD.h"
Armand80 0:b3784d62a11e 3 DigitalOut myled(LED1);
Armand80 0:b3784d62a11e 4 TextLCD lcd(D8,D9,D4,D5,D6,D7);
Armand80 0:b3784d62a11e 5 int main()
Armand80 0:b3784d62a11e 6 {
Armand80 0:b3784d62a11e 7 lcd.printf("NUCLEO F103RB");
Armand80 0:b3784d62a11e 8 float i=0.0;
Armand80 0:b3784d62a11e 9 while(1) {
Armand80 0:b3784d62a11e 10 lcd.locate(0,1);
Armand80 0:b3784d62a11e 11 lcd.printf("%f",i);
Armand80 0:b3784d62a11e 12 i=i+0.5;
Armand80 0:b3784d62a11e 13 wait_ms(200) ;
Armand80 0:b3784d62a11e 14 }
Armand80 0:b3784d62a11e 15 }