#include "mbed.h" #include "TextLCD.h" TextLCD lcd(PTA13, PTD5, PTC9, PTC8, PTA5, PTA4); 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; } }