Open RainGather opened 6 years ago
well. From the picture can know this error is come from the board returns information on the error.
Do not use the python -m mp. Mpfshell directly because the lpwd
path of mpfshell is not consistent with the path of your file.
execute mpfshell directly, or check the directory returned by the lpwd
of the board. If you're windwos, you also need to be aware that it's under the same drive and filename uppercase.
You can also try out my mpfshell. XD.
@junhuanchen Would you like to submit a PR on this (and other functionality you find useful)?
Env:
I have a python file named Ultrasonic.py. And when I do next command:
There have an Error:
And if I rename Ultrasonic.py to u.py, and retry, it is all good, no error. I met many times this problem, sometimes is Ultrasonic.py, sometimes is finger.py