mirror of
https://github.com/MarlinFirmware/Configurations.git
synced 2025-07-22 06:04:04 -06:00
🔧 LumenPnP RS485 and I2C Bus (#920)
This commit is contained in:
parent
8c19d8d41d
commit
d43f47ac18
3 changed files with 5 additions and 5 deletions
|
@ -117,9 +117,9 @@
|
|||
* Select a serial port to communicate with RS485 protocol
|
||||
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
||||
*/
|
||||
//#define RS485_SERIAL_PORT 1
|
||||
#define RS485_SERIAL_PORT 1
|
||||
#ifdef RS485_SERIAL_PORT
|
||||
//#define RS485_BUS_BUFFER_SIZE 128
|
||||
#define RS485_BUS_BUFFER_SIZE 128
|
||||
#endif
|
||||
|
||||
// Enable the Bluetooth serial interface on AT90USB devices
|
||||
|
|
|
@ -3396,7 +3396,7 @@
|
|||
* echo:i2c-reply: from:99 bytes:5 data:hello
|
||||
*/
|
||||
|
||||
//#define EXPERIMENTAL_I2CBUS
|
||||
#define EXPERIMENTAL_I2CBUS
|
||||
#if ENABLED(EXPERIMENTAL_I2CBUS)
|
||||
#define I2C_SLAVE_ADDRESS 0 // Set a value from 8 to 127 to act as a slave
|
||||
#endif
|
||||
|
|
|
@ -117,9 +117,9 @@
|
|||
* Select a serial port to communicate with RS485 protocol
|
||||
* :[-1, 0, 1, 2, 3, 4, 5, 6, 7]
|
||||
*/
|
||||
//#define RS485_SERIAL_PORT 1
|
||||
#define RS485_SERIAL_PORT 1
|
||||
#ifdef RS485_SERIAL_PORT
|
||||
//#define RS485_BUS_BUFFER_SIZE 128
|
||||
#define RS485_BUS_BUFFER_SIZE 128
|
||||
#endif
|
||||
|
||||
// Enable the Bluetooth serial interface on AT90USB devices
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue