This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rc2007-rescue/hardware.h

25 lines
319 B
C
Raw Normal View History

2007-04-03 12:48:00 +00:00
#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