Skip to content

Instantly share code, notes, and snippets.

@holachek
Created August 7, 2012 01:58
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 holachek/3280668 to your computer and use it in GitHub Desktop.
Save holachek/3280668 to your computer and use it in GitHub Desktop.
AVR Tutorial main.c
#include <avr/io.h>
int main (void)
{
DDRD |= (1 << PD6);
for(;;)
{
PORTD |= (1 << PD6);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment