Hello everyone!
i'm here again for ask your help.
1) I use uPyCraft V1.1 for program my ESP8266 it's a good program or there are any other work much better ?
2) I wrote my first class ,but when i try to download gave me one error InportError: no module named 'RFD77402' is because didn't find where my class is ? i need the use path ? if yes can you help me please
Thank you so much
Sergio
Software and call Class
Re: Software and call Class
It seems fine! This is more of a personal choice. It looks like it makes it easy to get files on/off the ESP8266 so that's good... (this is the usual thing that people have trouble with because there's only a serial interface, no easy USB filesystem like on the pyboards).
Sounds like it. If you have a line `import RFD77402` then it's expecting to find a file called `RFD77402.py` in the search path (which most of the times means just put it in the same directory as main.py). It's case sensitive too.
Some things to try:
- Can you open the REPL (serial console) on the device and run
Code: Select all
import os
os.listdir()
- If the file is there, try running
Code: Select all
import RFD77402
Re: Software and call Class
Thank you soo much for the help.
Sergio
Sergio