Make sure you can check all these boxes before submitting your issue—Thank you!
– [x] The submitted code is available under the GNU GPL version 2 with the “or later” clause
– [x] You have certified that this is the case by including a “Signed-off-by” message in each commit
– [x] You used your real name and a working e-mail address in this message
I had the need to use the wj200_vfd module over a USB to RS485 converter, so I’m making this pull request.
This commit adds the –device option to the wj200_vfd HAL component.
It allows the user to select which device to use for Modbus communication
to the VFD. For example, to use a USB to RS485 converter on /dev/ttyUSB0
you would run this command:
loadusr -W wj200_vfd --device /dev/ttyUSB0
The default is /dev/ttyS0 if --device is not specified.
Signed-off-by: James Waples jamwaffles@gmail.com