ModbusSlave (jpmzometa) ported to Teensy

Status
Not open for further replies.

nikorun

Member
Hi !

I'm using Modbus for years in my home automation system and decided to switch from Arduino to Teensy recently.
As I was using excellent ModbusSlave library from jpmzometa (http://sites.google.com/site/jpmzometa/) I had to change a few lines in the code to use Serial1 in stead of USB Serial and to use the built-in function to handle the DE pin of MAX 485. Thanks to the advised I had somewhere else on this forum.

Please find attached the two files of the forked library. Let me know if it works on your config.

Bye
 

Attachments

  • ModbusSlaveTeensy.zip
    7.3 KB · Views: 164
Status
Not open for further replies.
Back
Top