Skip to content

Instantly share code, notes, and snippets.

@SomeoneWeird
Created May 12, 2014 12:12
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 SomeoneWeird/b562f7874a00f79e8827 to your computer and use it in GitHub Desktop.
Save SomeoneWeird/b562f7874a00f79e8827 to your computer and use it in GitHub Desktop.
#include <avr/io.h>
#include <util/delay.h>
int main (void) {
DDRB |= _BV(DDB4);
while(1) {
PORTB ^= _BV(PORTB4);
_delay_ms(500);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment