New pin definitions
This commit is contained in:
parent
58ef339d71
commit
ddf696e1da
@ -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
|
||||
|
13
include/io.h
13
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
|
||||
|
Loading…
Reference in New Issue
Block a user