24 lines
319 B
C
24 lines
319 B
C
#ifndef _ROBOCUP_HARDWARE_H_
|
|
#define _ROBOCUP_HARDWARE_H_
|
|
|
|
#include "avr.h"
|
|
|
|
#include <avr/io.h>
|
|
|
|
|
|
static const MOTOR MOTOR1 = {
|
|
&PORTD, &OCR1BL, 0x01, 0x02
|
|
};
|
|
|
|
static const MOTOR MOTOR2 = {
|
|
&PORTD, &OCR1AL, 0x04, 0x08
|
|
};
|
|
|
|
static const MOTOR MOTOR3 = {
|
|
&PORTB, &OCR0, 0x01, 0x02
|
|
};
|
|
|
|
|
|
void initHardware();
|
|
|
|
#endif
|