New firmware release for Pytrack and Pysense version 0.0.6
-
Hello everyone,
We have released a new firmware for Pytrack and Pysense that finally allows to check the wake up reason.
You can get the firmware from here: https://docs.pycom.io/chapter/pytrackpysense/installation/firmware.html
and use the
.get_wake_reason()
method to query it. It can return 3 different values:WAKE_REASON_ACCELEROMETER = 1 WAKE_REASON_PUSH_BUTTON = 2 WAKE_REASON_TIMER = 4
Please check the new libraries:
https://github.com/pycom/pycom-libraries/blob/master/pysense/lib/pysense.py
https://github.com/pycom/pycom-libraries/blob/master/pytrack/lib/pytrack.pyCheers,
Daniel
-
@daniel
Thanks for the hint and the file downloaded fine when I used Google Chrome.I had previously tried Internet Explorer and MS Edge, with similar results. Perhaps it was caused by a Norton add-in ???
@crumble Thanks for your hint as well.
-
@rodgerg your browser displays the dfu file. If you don't see it in your download folder try a right click and select somthing like "save link as...".
-
@RodgerG I think you are trying to access it the wrong way. You simply need to download those files. In my browser (Chrome) if I click on the links, the files are downloaded immediately. Is that not the case for you?
-
Hi @daniel
I am having trouble downloading the Pysense firmware from the link shown.
When I go to the first link I see
But when I click on the Pysense DFU hyperlink, the screen fills with characters as below
Is the link broken, or am I trying to access this in the wrong way?
I have followed all of the other instructions, including loading Zadig, but can't seem to download a copy of the latest firmware.
Thank you for your help:-)