#include "mbed.h" #include "TextLCD.h" TextLCD lcd(PA_9, PC_7, PB_5, PB_4, PB_10,PA_8); int main() { int count = 0; lcd.cls(); lcd.printf("CONTA DE 0 A 59"); wait(0.5); while (1) { lcd.locate(0,1); lcd.printf("CT=%2d", count); count = count + 1; wait(0.5); if (count == 60) count=0; } }