Hello everyone,
I’m just doing my first steps with ESP32. I loaded and ran the micropython ESP32 DHT11 tutorial using uPyCraft 1.1 and everything worked fine …. once. So I tried to change the format of the numbers from f3.1 to f3.2 in main.py and got:
os.listdir(‘.’)
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
NameError: name ‘os’ isn’t defined
>>>
reflush tree false
Changing back to the original file using ctrl Z did not help.
Adding import sys in boot.py did not help.
Any ideas where this is coming from and how to fix it?