我正在尝试从TI Chronos获取加速度计数据,当我运行代码时,我收到以下错误消息:
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.
Run Code Online (Sandbox Code Playgroud)
为什么拒绝访问?我是系统管理员.这可能是代码的问题吗?
谢谢,
松鸦
| 归档时间: |
|
| 查看次数: |
68833 次 |
| 最近记录: |