@ -140,3 +140,6 @@
|
||||
// Misc. Functions
|
||||
//
|
||||
#define SDSS 20 // B0
|
||||
|
||||
//DIGIPOTS slave addresses
|
||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for DIGIPOT 0x2C (0x58 <- 0x2C << 1)
|
||||
|
@ -41,6 +41,10 @@
|
||||
#error "Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu."
|
||||
#endif
|
||||
|
||||
//DIGIPOT slave addresses
|
||||
#define DIGIPOT_I2C_ADDRESS_A 0x2C // unshifted slave address for first DIGIPOT 0x2C (0x58 <- 0x2C << 1)
|
||||
#define DIGIPOT_I2C_ADDRESS_B 0x2E // unshifted slave address for second DIGIPOT 0x2E (0x5C <- 0x2E << 1)
|
||||
|
||||
//
|
||||
// Servos
|
||||
//
|
||||
|
@ -121,6 +121,7 @@
|
||||
#define DIGIPOTS_I2C_SDA_Z 65 // K3
|
||||
#define DIGIPOTS_I2C_SDA_E0 27 // A5
|
||||
#define DIGIPOTS_I2C_SDA_E1 77 // J6
|
||||
#define DIGIPOT_I2C_ADDRESS_A 0x2F // unshifted slave address (5E <- 2F << 1)
|
||||
|
||||
//
|
||||
// Temperature Sensors
|
||||
|
Reference in New Issue
Block a user