Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 1 month ago.
quisiera saber por q razon no funciona
- include "mbed.h"
- include "TextLCD.h"
- include "DebouncedIn.h" TextLCD lcd(PTB10, PTB11, PTB2, PTB3, PTB4, PTB5); rs, e, d4-d7
debouncedIn bottun1(PTC12); debouncedIn button2(PTC13); int C1=0x0f; int i; int main(){ lcd.cls(); lcd.write command(C1); lcd.printf("Bienvenido a ver si prende");
lcd.printf(" Cuenta % d", i);
while(1){ if button1.falling(){ LED1=LED!; ++ i; locate(7,0); lcd.printf(" % d", i); } } } }
Question relating to:
1 Answer
11 years, 1 month ago.
Hola Santiago podrías usar las etiquetas <<code>> tu codigo <</code>>
para entender mejor tu código y poder ayudarte?. Que plataforma de MBED estas usando?
Saludos