This library meant to allow mbed boards (tested on F401RE) to act as modbus slave. I don't own this work, I just made some simple modifications so that it runs on mbed. My modification were labeled with "afdhal". Summary: Modified modbus Arduino library for mbed. See readme for more details. Feel free to use it as you want. Special thanks to the original authors.
Dependents: ModbusRTU-RS232 FoodComputerARM-alpha
Diff: ModbusSlave232.cpp
- Revision:
- 2:5318159b5eab
- Parent:
- 1:35fdc7056f66
diff -r 35fdc7056f66 -r 5318159b5eab ModbusSlave232.cpp --- a/ModbusSlave232.cpp Fri Jul 22 09:44:55 2016 +0000 +++ b/ModbusSlave232.cpp Thu Jul 28 13:19:47 2016 +0000 @@ -52,6 +52,7 @@ //#include "Arduino.h" //afdhal + #include "millis.h" #include "MODSERIAL.h" //afdhal MODSERIAL pc(USBTX, USBRX); // tx, rx //afdhal