python-orvibo
python-orvibo copied to clipboard
Trying to use this on Win10
Dear happyleavesaoc,
I am trying to use this on Windows 10. I have attached my (VERY EXPERIMENTAL) test script named "test_wifi_socket.py".
I have a blue light on my s20. When i call _setup(), I am getting ...
s20.py", line 56, in _setup _SOCKET.bind(('', PORT)) OSError: [WinError 10022] An invalid argument was supplied
The output of test_wifi_socket.py is:
>py -3 test_wifi_socket.py
Traceback (most recent call last):
File "test_wifi_socket.py", line 59, in <module>
main()
File "test_wifi_socket.py", line 56, in main
test_wifi_socket()
File "test_wifi_socket.py", line 33, in test_wifi_socket
s20._setup() # do this first
File "C:\Users\joeco\PycharmProjects\mason01\jlib\orvibo\s20.py", line 56, in _setup
_SOCKET.bind(('', PORT))
OSError: [WinError 10022] An invalid argument was supplied
I sure would like to use your software (and the s20) to help me teach my grandson to program in python.
Here's the uploaded python test script.
Any help would be appreciated.
Love and peace, Joe