Override for LPC1768 u8g/digipot I2C master ID (#16622)

This commit is contained in:
0r31
2020-01-21 03:09:16 +01:00
committed by Scott Lahteine
parent 1a5cbc9052
commit b57ef4b261
4 changed files with 24 additions and 15 deletions

View File

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