Programme Nucleo RS485 - Modbus TCP/IP (ACP 40)

Fork of Modbus by Cam Marshall

Files at this revision

API Documentation at this revision

Comitter:
TomTom83
Date:
Fri Jul 06 11:45:57 2018 +0000
Parent:
1:390d9808cdde
Commit message:
Programme RS485 - Modbus TCP/IP (ACP40)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Fri Jul 06 10:50:10 2018 +0000
+++ b/main.cpp	Fri Jul 06 11:45:57 2018 +0000
@@ -28,7 +28,7 @@
 #include "mbport.h"
 
 /* ----------------------- Defines ------------------------------------------*/
-#define REG_INPUT_START 0
+#define REG_INPUT_START 1
 #define REG_INPUT_NREGS 20
 #define SLAVE_ID 0x00