Open texasyojimbo opened 5 years ago
Added delay mechanism.
WIll need to get another device to test making code generic. I think LCUS-2 should be the next target as they are pretty cheap.
Link: https://www.amazon.com/LM-YN-2-Channel-Module-Control/dp/B075GLQQC9
Probably will look into this early next month.
Also, add support for HIDAPI devices (KNACRO etc).
I have a couple of these somewhere in the garage, need to go dig them up.
Add support for checking frequency band, etc. when changes so that this could be used for switching filters.
Added PROCESS type to accommodate HID API devices (you will need to get an OS specific tool to use this).
Tested in Windows 7.
Remaining to-dos:
Here are some things that I think ought to be done/ added in the future, and which I will work on in my spare time:
Actually testing this in Windows. I have read that the ftd2xx module for Python does work on Windows, but I didn't actually try it.
Refactor the code a bit so that it is a little more universal, rather than tied to the two boards I tried it on. For example, I think there are multi-channel CH340 devices out there.
Maybe add some sort of delay so that, for example, a transmit amplifier doesn't kick on until an antenna switch has had a few milliseconds to switch. This is a pretty important safety feature that ought to be implemented.