Override for LPC1768 u8g/digipot I2C master ID (#16622)
This commit is contained in:
@ -2449,6 +2449,14 @@
|
||||
|
||||
#endif // HAS_L64XX
|
||||
|
||||
// @section i2cbus
|
||||
|
||||
//
|
||||
// I2C Master ID for LPC176x LCD and Digital Current control
|
||||
// Does not apply to other peripherals based on the Wire library.
|
||||
//
|
||||
//#define I2C_MASTER_ID 1 // Set a value from 0 to 2
|
||||
|
||||
/**
|
||||
* TWI/I2C BUS
|
||||
*
|
||||
@ -2477,10 +2485,10 @@
|
||||
* echo:i2c-reply: from:99 bytes:5 data:hello
|
||||
*/
|
||||
|
||||
// @section i2cbus
|
||||
|
||||
//#define EXPERIMENTAL_I2CBUS
|
||||
#define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave
|
||||
#if ENABLED(EXPERIMENTAL_I2CBUS)
|
||||
#define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave
|
||||
#endif
|
||||
|
||||
// @section extras
|
||||
|
||||
|
Reference in New Issue
Block a user