diff --git a/include/ds18b20.h b/include/ds18b20.h index 7df1ca4..0890599 100644 --- a/include/ds18b20.h +++ b/include/ds18b20.h @@ -20,10 +20,10 @@ References: //setup connection -#define DS18B20_PORT PORTD -#define DS18B20_DDR DDRD -#define DS18B20_PIN PIND -#define DS18B20_DQ PD7 +#define DS18B20_PORT PORTC +#define DS18B20_DDR DDRC +#define DS18B20_PIN PINC +#define DS18B20_DQ PC0 //commands #define DS18B20_CMD_CONVERTTEMP 0x44 diff --git a/include/io.h b/include/io.h index 3239a25..67186db 100644 --- a/include/io.h +++ b/include/io.h @@ -3,13 +3,14 @@ /* DS18B20+ is configured in DS18B20 library */ -/* Signal LED */ +/* Signal LEDs */ #define LED_1 PD3 +#define LED_2 PD4 /* Servo motors */ -#define SERVO_L_PIN PB1 -#define SERVO_L OCR1A -#define SERVO_R_PIN PB2 -#define SERVO_R OCR1B - +#define SERVO_DDR DDRD +#define SERVO_L_PIN PD5 +#define SERVO_L OCR0B +#define SERVO_R_PIN PD6 +#define SERVO_R OCR0A #endif