labgrid
labgrid copied to clipboard
driver: add driver for waveshare RTU relay
Description
This adds a driver for Waveshare ModbusRTU Relays. These relays speak modbus so this added driver is dependent on PR #1394 . In my current setup the relay is used to toggle the power supply of the DUT and to toggle a jumper. I verified that the added driver works, it has been tested with the cli, the scripting and pytest interface.
Checklist
- [x] Documentation for the feature
- [x] Tests for the feature
- [x] The arguments and description in doc/configuration.rst have been updated
- [x] PR has been tested