Centro de Controle de Motores

Dependencies:   TextLCD mbed

Committer:
isabellemm
Date:
Wed Mar 09 14:17:24 2022 +0000
Revision:
3:2b261e3c05db
Parent:
2:46bbc8fadd10
v4

Who changed what in which revision?

UserRevisionLine numberNew contents of line
isabellemm 0:fc9c0d1b575d 1 #include "mbed.h"
isabellemm 0:fc9c0d1b575d 2
isabellemm 0:fc9c0d1b575d 3 DigitalOut led(D13);
isabellemm 0:fc9c0d1b575d 4
isabellemm 3:2b261e3c05db 5 int main(void) {
isabellemm 0:fc9c0d1b575d 6 while(1) {
isabellemm 0:fc9c0d1b575d 7 led = 1; //LED on
isabellemm 2:46bbc8fadd10 8 wait(0.5);
isabellemm 0:fc9c0d1b575d 9 led = 0; //LED off
isabellemm 2:46bbc8fadd10 10 wait(0.5);
isabellemm 0:fc9c0d1b575d 11 }
isabellemm 0:fc9c0d1b575d 12 }