Shop OBEX P1 Docs P2 Docs Learn Events
upython w/o SD Card — Parallax Forums

upython w/o SD Card

I don't have an SD card handy right now.
So I modified ozpropdev's excellent P2 loader a very little bit. Thank's again for the loadp2 script.
With the command line command "python3 loadp2.py upython.binary smartblink.py " upython is loaded and then the smartblink.py script is executed.
The program then remains in the interpreter loop and can be left with "exit". Without a script argument, blink.py is loaded by default.
In this example I assume that the upython binary and the python scripts are in the same directory.
I had to rename loadp2.py to loadp2.py.txt, otherwise it cannot be uploaded.

Sign In or Register to comment.