summaryrefslogtreecommitdiffstats
path: root/avr.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2007-04-13 19:58:03 +0200
committerneoraider <devnull@localhost>2007-04-13 19:58:03 +0200
commit7da669b97ec71f138c74d562b8a3b219d3f98a50 (patch)
tree089226274f422ae1b486cf44d36751de47bca01c /avr.h
parente26a1dc73313098cef235918d237f9b1a6e4cb5f (diff)
downloadrc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.tar
rc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.zip
Makefile angelegt; Grundfunktionen erweitert
Diffstat (limited to 'avr.h')
-rw-r--r--avr.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/avr.h b/avr.h
index 2d13616..de4e6e4 100644
--- a/avr.h
+++ b/avr.h
@@ -4,15 +4,6 @@
#include <stdint.h>
-typedef struct {
- volatile uint8_t *port;
- volatile uint8_t *pwmPort;
- uint8_t fwdMask;
- uint8_t revMask;
-} MOTOR;
-
-void setMotorSpeed(MOTOR *motor, int speed);
-
int getButton();
void waitForButton(int i);