Skip to content

Instantly share code, notes, and snippets.

@esmarr58
Created November 11, 2017 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmarr58/566a9297659860cfcf81a17e5fdacdd0 to your computer and use it in GitHub Desktop.
Save esmarr58/566a9297659860cfcf81a17e5fdacdd0 to your computer and use it in GitHub Desktop.
#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