![](/media/cache/profiles/1be11c5070263813a6c631ecdba885ef.jpg.50x50_q85.png)
Cambio de pin de entrada digital a PA10
Dependencies: BufferedSerial PinDetect mbed
Fork of DTK-MEGAPACA_NUCLEO by
main.cpp
- Committer:
- hudakz
- Date:
- 2016-08-02
- Revision:
- 1:f05b1d8380cb
- Parent:
- 0:d81be2ce0c05
- Child:
- 2:01df16953268
File content as of revision 1:f05b1d8380cb:
#include "MapleMini.h" #include "mbed.h" Serial pc(PA_2, PA_3); DigitalOut myled(LED1); int main() { confSysClock(); //Configure system clock (72MHz HSE clock, 48MHz USB clock) while(1) { myled = 1; // turn the LED on wait(0.2); // 200 ms myled = 0; // turn the LED off wait(1.0); // 1 sec pc.printf("Blink\r\n"); } }