28. 3. 2013
#include <inttypes.h>
#include <avr/io.h>
#include <avr/iom168.h>
#include <avr/interrupt.h>
#include <avr/sleep.h>
/* FUSE bity:
* HF = 1 1 0 1 1 0 0 1 0xD9 (default)
* 1 1 0 0 1 0 0 1 0xC9
* LF = 1 1 1 0 0 0 0 1 0xE1 (default)
* 1 1 1 0 0 1 1 1 0xE7
*
* read avrdude -p atmega168 -P usb -c usbasp -U lfuse:r:"low.bin":r -U hfuse:r:"high.bin":r
* write avrdude -p atmega168 -P usb -c usbasp -U lfuse:w:"low.bin":r -U hfuse:w:"high.bin":r
* fuseswrite avrdude -p atmega168 -P usb -c usbasp -B 200 -U lfuse:w:0xE7:m
*/
#define OSCFREQ 12000000L
int main (void){
while(1)
{
}
return 0;
}