Isabelle Murollo
/
Projeto_CCM_Maquinas_MotorPasso
Centro de Controle de Motores
Diff: main.cpp
- Revision:
- 0:fc9c0d1b575d
- Child:
- 1:d94be0bcadcc
diff -r 000000000000 -r fc9c0d1b575d main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Mar 09 14:05:11 2022 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +DigitalOut led(D13); + +int main() { + while(1) { + led = 1; //LED on + wait(0.002); + led = 0; //LED off + wait(0.002); + } +} \ No newline at end of file