#include "hardware.h"
#include "adc.h"
#include "i2c.h"
#include "stdlib.h"
void initHardware() {
DDRA = 0x00;
PORTA = 0xFF;
DDRB = 0xFF;
PORTB = 0x00;
DDRC = 0x7C;
PORTC = 0x83;
DDRD = 0xFF;
PORTD = 0x00;
TCCR0 = 0x62;
TCCR1A = 0xA1;
TCCR1B = 0x82;
OCR0 = 0;
OCR1A = 0;
OCR1B = 0;
initADC();
initI2C();
}