Subversion Repositories Projects

Rev

Blame | Last modification | View Log | RSS feed

#ifndef _MAIN_H
 #define _MAIN_H


#define SYSCLK  8000000L


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/eeprom.h>


#define setbit |=
#define clrbit &=~
#define invbit ^=
#define ledred          3       //on Port C
#define ledgreen        7       //on Port D
#define correction      -60

#define ZOOM    0x41
#define TRIGGER 0x40

#endif //_MAIN_H