From 7da669b97ec71f138c74d562b8a3b219d3f98a50 Mon Sep 17 00:00:00 2001 From: neoraider Date: Fri, 13 Apr 2007 17:58:03 +0000 Subject: Makefile angelegt; Grundfunktionen erweitert --- hardware.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hardware.cpp') 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; -- cgit v1.2.3