Created
November 11, 2017 20:31
-
-
Save esmarr58/566a9297659860cfcf81a17e5fdacdd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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