routines to manage by polling a serial (RS232) node Modbus RTU slave. The microcontroller on which it was implemented is LPC1768. The routine for performing the CRC16 checksum is very small and very fast. MODBUS-SLAVE is complete. VERY INTERESTING.has passed the test.
File list:
example-main.c
MBSlave.c
MBSlave.h
mb_board.c
MB_PFunction.c
MB_pfunction.h
modbus.h