[WIP] Всё еще пытаемся настроить modbuse

This commit is contained in:
Dima
2024-05-20 19:50:56 +03:00
parent 1429e85dfc
commit 261c243e31
2 changed files with 12 additions and 8 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
#include <ModbusSerial.h>
const int GPIOCoil = 0;
ModbusSerial modbus(Serial, 10);
ModbusSerial modbus(Serial, 1);
bool coils[10];
int pinToRead = 2;
int pinToRead = 6;
void setup() {
Serial.begin(9600);