blmc/main.h

18 lines
255 B
C

#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)
#define LED_OFF 0x00
#define LED_SLOW 0x01
#define LED_FAST 0x10
#define LED_ON 0x11
#endif