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
-
Hi,
The hardware version of the board can be found written on the silk screen (either
1.0
or1.1
), The firmware version of the pysense can be found by using theread_fw_version()
function inpycoproc.py
which 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'
-
@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
-
@robert-hh Thanks. One more question.
4. How to find the Pysense version from board?
-
@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 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 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()