summaryrefslogtreecommitdiffstats
path: root/hardware.cpp
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 /hardware.cpp
parente26a1dc73313098cef235918d237f9b1a6e4cb5f (diff)
downloadrc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.tar
rc2007-rescue-7da669b97ec71f138c74d562b8a3b219d3f98a50.zip
Makefile angelegt; Grundfunktionen erweitert
Diffstat (limited to 'hardware.cpp')
-rw-r--r--hardware.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/hardware.cpp b/hardware.cpp
index 41c7ea2..505cc9a 100644
--- a/hardware.cpp
+++ b/hardware.cpp
@@ -1,6 +1,8 @@
#include "hardware.h"
+
#include "adc.h"
#include "i2c.h"
+#include "stdlib.h"
void initHardware() {
@@ -14,7 +16,7 @@ void initHardware() {
PORTC = 0x83;
DDRD = 0xFF;
- PORTC = 0x00;
+ PORTD = 0x00;
TCCR0 = 0x62;
TCCR1A = 0xA1;