andresarmento / modbus-arduino

A library that allows your Arduino to communicate via Modbus protocol, acting as a slave (master in development). Supports serial (RS-232, RS-485) and IP via Ethernet (Modbus IP).
BSD 3-Clause "New" or "Revised" License
453 stars 267 forks source link

Modified to allow a custom SS (Chip Select) pin #43

Open SupremeSports opened 4 years ago

SupremeSports commented 4 years ago

Modified to allow a custom SS (Chip Select) pin. I'm using multiple SPI devices on my Arduino Mega and it's easier to be able to select manually a SS. Also, it defaults to pin 10, so it would be transparent to all existing installs