I am trying to get the Python controller running on a Windows machine. when I run controller.py it appears to connect to the keypad successfully. It retrieves the info from the keypad. However when it enters the main loop I get the following error:
Error: <class 'AttributeError'>
I will retry in three seconds...
Connecting to COM6 .
Serial error: could not open port 'COM6': PermissionError(13, 'Access is denied.', None, 5)
If I enable debug mode I get the following traceback:
Traceback (most recent call last):
File "D:\Downloads\DIY\Macro Keypad\inkkeys-main\python-controller\controller.py", line 110, in tryUsingPort
work() #Success, enter main loop
^^^^^^
File "D:\Downloads\DIY\Macro Keypad\inkkeys-main\python-controller\controller.py", line 85, in work
pollInterval = mode.poll(device)
^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'poll'
Any assistance that you can offer would be appreciated.