Windows Subsystem for Linux (WSL) Port '/dev/ttySX' not available: Not a typewriter
Hello and thank you for a great library. I was using WSL to try and run your clear_input_buffer and received the error:
Error: port '/dev/ttyS4' not available: Not a typewriter. I then tried to run list_ports I received
No ports found
I then ran the program on windows using the COM4 name and it ran successfully. Am i doing something wrong or is there something going on with WSL? (I am on Ubuntu 18.04 Windows 10 version 1809).
Also, I am able to
cat /dev/ttyS4 and read input from WSL.