Newbie questions
-
- How to gracefully shutdown the board?
- How to execute a test script from REPL?
- How to validate that the firmware for the Pysense and the Lopy4 module is on the latest recommended release
Thanks for your help
-
@shishir 1. Remove power. Unless there ate open files, that's ok
2. If the script has beenuploaded to the device,enter
import <name_of_file>
Without the .py extension.
3. Enter the commands in REPL:
import uos
uos.uname() -
@robert-hh Thanks a lot
1 and 2: OK
3. I found the commands in the document but my query was how to figure out if it is the recommended stable version -
@shishir The latest version is always visible in the forum's section "Announcement & News". Since always new features are added and bugs are fixed, you have to determine yourself whether a certain version is good for your purpose.
-
@robert-hh Thanks. One more question.
4. How to find the Pysense version from board? -
@shishir No idea. The pysense.py module itself is a pythion script, located in the library. But you migth have asked for the firmware version of the PIC controller on the pysense board. Maybe someone else can anwer that, like @seb
-
Hi,
The hardware version of the board can be found written on the silk screen (either
1.0or1.1), The firmware version of the pysense can be found by using theread_fw_version()function inpycoproc.pywhich can be found here. Finally in regards to what library version you are using, you can see that at the top of the .py file e.g:__version__ = '0.0.2'
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login