Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#include "mbed.h"
DigitalOut LED_VERDE(D13);
int main() {
while(1) {
LED_VERDE = 1;
wait(1.0);
//wait_ms(1000); //Funcion equivalente a la anterior
//wait_us(1000000); //Funcion equivalente a la anterior
LED_VERDE = 0;
wait(1.0);
//wait_ms(1000);
//wait_us(1000000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment