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
Revision 2:5318159b5eab, committed 2016-07-28
- Comitter:
- AfdhalAtiffTan
- Date:
- Thu Jul 28 13:19:47 2016 +0000
- Parent:
- 1:35fdc7056f66
- Commit message:
- Added small comments.
Changed in this revision
ModbusSlave232.cpp | Show annotated file Show diff for this revision Revisions of this file |
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