Hi everybody! And thank you for your library
Stephane Raimbault ! (sorry everyone about my bad English)
I have a project for my education: Design Smart Bus!
I use Raspberry Pi is master and 2 Arduino is slave ( and 2 Arduino connect 2 RFID reader for each)
I can use modbus-rtu.c in folder "src" in libmodbus for Raspberry master? (i use libmodbus-3.1.0), but i can't complie modbus-rtu.c
this problems:
(.text+0x34): undefined reference to 'main'
in function '_modbus_rtu_receive':
(.text+0x3dc): undefined reference to '_modbus_receive_msg'
(.text+0x41c): undefined reference to '_modbus_receive_msg'
i'm new work with C. i must write new master modbus or use modbus-rtu.c ?
Please help me! Thanks you so much for your help!