blmc/main.h

18 lines
255 B
C
Raw Normal View History

2007-09-20 22:54:11 +02:00
#ifndef _MAIN_H_
#define _MAIN_H_
#include <avr/io.h>
#define F_CPU 8000000
#include <util/delay.h>
#define LED_RT (1<<PORTB4)
#define LED_GN (1<<PORTB5)
2008-02-17 18:17:28 +01:00
#define LED_OFF 0x00
#define LED_SLOW 0x01
#define LED_FAST 0x10
#define LED_ON 0x11
2007-09-20 22:54:11 +02:00
#endif