I am looking for basic Modbus RTu slave code for PIC using rs485. Please guide me to get source code or develop source code & What are function i need to take care while developing it
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
This question already has answers here:
Closed 9 months ago.
回答1:
liblightmodbus is a very lightweight, highly configurable, platform-independent Modbus RTU library.
回答2:
This is the closest I could find: freemodbus.
There is a port to PIC32xx but I did not test it.
There used to be a bunch of projects implementing Modbus for PIC microcontrollers but most of them are old, with dead links and nowhere to be found anymore.
With Arduino & friends and SBCs running so cheap nobody seems to be into this kind of thing with PIC anymore.