I'm trying to get accelerometer data from TI Chronos. I get the following error message when I run the code:
Traceback (most recent call last):
File "C:\Python32\chronos_accel.py", line 50, in <module>
.
.
.
raise SerialException("could not open port %s: %s" % (self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port COM4: [Error 5] Access is denied.
Why is access denied? I'm the system administrator. Could it be a problem with the code?
I figured it out. It was simple enough.
I just disabled the COM port in the Device Manager window and enabled it again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With