New pin definitions

This commit is contained in:
Rihards Skuja 2017-12-30 22:48:10 +02:00
parent 58ef339d71
commit ddf696e1da
No known key found for this signature in database
GPG Key ID: 53FA13A3F7F8571B
2 changed files with 11 additions and 10 deletions

View File

@ -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

View File

@ -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