Skip to content

Instantly share code, notes, and snippets.

@naquad
Created March 30, 2014 09:37
Show Gist options
  • Save naquad/9870248 to your computer and use it in GitHub Desktop.
Save naquad/9870248 to your computer and use it in GitHub Desktop.
#include <avr/io.h>
int main(void){
TCCR1A |= (1 << COM1A1) | (1 << WGM11) | (1 << WGM10);
TCCR1B |= (1 << CS12);
DDRB |= (1 << PB1);
while(1){}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment