summaryrefslogtreecommitdiffstats
path: root/hardware.cpp
diff options
context:
space:
mode:
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;