Subversion Repositories Projects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
14 walter 1
#ifndef _MAIN_H
2
 #define _MAIN_H
3
 
4
 
5
#define SYSCLK  8000000L
6
 
7
 
8
#include <stdio.h>
9
#include <stdlib.h>
10
#include <string.h>
11
#include <avr/io.h>
12
#include <avr/interrupt.h>
13
#include <avr/eeprom.h>
14
 
15
 
16
#define setbit |=
17
#define clrbit &=~
18
#define invbit ^=
19
#define ledred          3       //on Port C
20
#define ledgreen        7       //on Port D
21
#define correction      -60
22
 
23
#define ZOOM    0x41
24
#define TRIGGER 0x40
25
 
26
#endif //_MAIN_H
27
 
28
 
29
 
30
 
31