Created
November 2, 2017 22:46
-
-
Save esmarr58/7996bb465c60fe878811eb437a0cdd0c 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
void setup() { | |
//DDRB = (DDRB & 0b11011111 ) | 0b00100000 ; //Configura a la bandera 5 como salida | |
DDRB = (DDRB & 0xDF) | 0x20 ; //Lo mismo que la anterior pero en hexadecimal | |
//pinMode(13,OUTPUT); //Lo mismo ue la anterior pero en lenguaje Arduino | |
} | |
void loop() { | |
digitalWrite(13, HIGH); | |
delay(1000); | |
digitalWrite(13, LOW); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment