Skip to content

Instantly share code, notes, and snippets.

@schuhumi
Created February 17, 2015 19:28
Show Gist options
  • Save schuhumi/9b0bea9e2eaa8afcacbe to your computer and use it in GitHub Desktop.
Save schuhumi/9b0bea9e2eaa8afcacbe to your computer and use it in GitHub Desktop.
#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