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

readme.txt

Committer:
AfdhalAtiffTan
Date:
2016-07-22
Revision:
1:35fdc7056f66
Parent:
0:6262fc7582a9

File content as of revision 1:35fdc7056f66:

I found this modbus arduino library from:
https://www.cooking-hacks.com/documentation/tutorials/modbus-module-shield-tutorial-for-arduino-raspberry-pi-intel-galileo/

Then, I made a small modification to the library so that it is compatible with my mbed enabled Nucleo F401RE by using MODSERIAL:
https://developer.mbed.org/users/Sissors/code/MODSERIAL/

and Millis library:
https://developer.mbed.org/users/lisper/code/millis/

All of the modification were labeled with "afdhal".

Special thanks to:
jpmzometa
sammarcoarmengol
Andy Kirkham 
Erik Olieman
Lee Yaping
and all others that I missed

Feel free to use it as you like. ;)