I’m working on this project and can’t get the script to run. I’m using Thony and nodemcu and loaded the code for that device from github. When I try to run I get this error:
File “<stdin>”, line 11
SyntaxError: invalid syntax
I’m a noob and tried what little I know so far and no luck.
Can you try to copy and paste the code again?
I’ve just tried it and it worked just fine.
Check all the indentation. What’s the micropython firmware version that you are using?
I’ve tested it with the esp32-idf4-20210202-v1.14.bin firmware version.
I tried copy/paste several times with no luck however I have found another problem. I tried to save a different script(working) to the esp main.py file and got a long winded error. I opened main.py and nothing was there and I can’t move anything to the esp without error. I’m using thony because I couldn’t get upycraft to recognize usb. I can’t find enough documentation for thony to really be useful to such a noob but I tried upycraft again and now it works so I will go back and start over with upycraft. So thanks for the help and I’m sure I’ll be back.