Easiest Hello World example!

Dependencies:   TextLCD

main.cpp

Committer:
brandongarcia
Date:
2020-12-22
Revision:
1:48d03321546d
Parent:
0:86dc1c78a40c

File content as of revision 1:48d03321546d:

#include "mbed.h"
#include "TextLCD.h"
DigitalOut myled(LED1);
TextLCD ark(PA_0,PA_1,PA_4,PB_0,PC_1,PC_0);// rs, e, d4-d7

int main()
{
    ark.printf("HELLO MICRO WORLD");//Introduce the text here
    float i=0.0;
    while(1) {                      //This while is just a clock counter
        ark.locate(0,1);
        ark.printf("%f",i);
        i=i+0.5;
    }
}