Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.