mbed-modbus-RTU (modbus slave to control 6 LEDs)
Dependencies: Modbus nvt_rs485
Fork of NuMaker-mbed-modbus-sample by
Diff: main.cpp
- Revision:
- 6:7fb2dc9292b7
- Parent:
- 5:3e19326b47f7
--- a/main.cpp Thu Jan 05 13:31:29 2017 +0000 +++ b/main.cpp Thu Jan 05 13:33:34 2017 +0000 @@ -11,7 +11,7 @@ // // PC modbus master command = Write Single Register // ID = 1, Func = 6, Addr = 4, Data = 0x003F (6 bits for 6 LEDs) - +// /* ----------------------- System includes --------------------------------*/ #include "mbed.h" #include "rtos.h"