Code: Select all
Turning off the LED, Test 2
Exception in thread Thread-2:
Traceback (most recent call last):
File "E:\Desktop\Arduino\Eclipse\Python\lib\threading.py", line 954, in _bootstrap_inner
self.run()
File "E:\Desktop\Arduino\Eclipse\Python\lib\threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "E:\Desktop\esp-idf\tools\idf_monitor.py", line 149, in _run_outer
self.run()
File "E:\Desktop\esp-idf\tools\idf_monitor.py", line 361, in run
data = self.serial.read(self.serial.in_waiting or 1)
File "C:\Users\User-Pc\.espressif\python_env\idf4.1_py3.9_env\lib\site-packages\serial\serialwin32.py", line 259, in in_waiting
raise SerialException("ClearCommError failed ({!r})".format(ctypes.WinError()))
serial.serialutil.SerialException: ClearCommError failed (PermissionError(13, 'Access is denied.', None, 5))