Created
February 17, 2015 19:27
-
-
Save schuhumi/ae41dc5a032441dcd644 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 <avr/io.h> | |
#define F_CPU 16000000UL | |
#include <util/delay.h> | |
int main (void) | |
{ | |
DDRC = 0xff; | |
while(1) | |
{ | |
PORTC ^= 0xff; | |
_delay_ms(200); | |
} | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment