Hello, I want to use the TX1RX1 of the Arduino Mega, what should I do?
cofop875 opened this issue · comments
I want to use the TX1RX1 of the Arduino Mega, what should I do?
This is my code, I want to use TX0 RX0 and TX1 RX1, both in one code
How should I do?
#include <Modbusino.h>
ModbusinoSlave modbusino_slave(1);
uint16_t tab_reg[10];
void setup() {
modbusino_slave.setup(115200);
}
void loop() {
tab_reg[0] = 0x1234;
modbusino_slave.loop(tab_reg, 10);
}