Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TAIST_modbus by
Diff: modbus.cpp
- Revision:
- 6:b6d3e73ad56f
- Parent:
- 5:8998772b4971
- Child:
- 7:cba97341e790
--- a/modbus.cpp Sun Mar 18 07:27:10 2018 +0000
+++ b/modbus.cpp Mon Mar 19 07:02:47 2018 +0000
@@ -1,7 +1,7 @@
#include "mbed.h"
#include "modbus.h"
-uint8_t nodeId = 0;
+uint8_t nodeId = 2;
uint16_t regValue[ADDR_RANGE];
enum state {IDLE, RECEPTION, END} protState = IDLE;
