config_adv (#7941)

get rid of twi.h

move to board files
This commit is contained in:
Bob-the-Kuhn
2017-10-11 15:42:24 -05:00
committed by Roxy-3D
parent 0e260c6c1d
commit 4e3ee845b9
36 changed files with 430 additions and 9 deletions

View File

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

View File

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

View File

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