/*
 * ATtiny85.c
 *
 * Created: 11-Jul-19 2:08:22 PM
 * Author : M19892
 */ 

#include <avr/io.h>
#include <avr/fuse.h>

FUSES =
{
	.extended = 0xFF,
	.high = 0xD7,
	.low = 0xE6,
};


int main(void)
{
	// Crystal clock will be output on PORTB1 (divided by 2)
    DDRB |= (1 << 1);
	
	// Enable CTC mode with toggle on compare match. Precale 1 and top at 0
	OCR1A = 0;
	OCR1C = 0;
	TCCR1 = (1 << CTC1) | (0 << COM1A1) | (1 << COM1A0) | (0 << CS13) | (0 << CS12) | (0 << CS11) | (1 << CS10);
	
    while(1){}
}

