Is there to Pyboard D any equivalent of script "lowpower.py" from Pyboard 1.1 :
https://gist.github.com/dpgeorge/bf477eb883b6d189eae9
from topic "low power support?" ?
Is "pyb.wfi()" working on Pyboard D ? Some tests don't show any difference in power usage.
Low power support on Pyboard D : pyb.wfi, pyb.stop, pyb.standby(), etc
- rcolistete
- Posts: 352
- Joined: Thu Dec 31, 2015 3:12 pm
- Location: Brazil
- Contact:
Low power support on Pyboard D : pyb.wfi, pyb.stop, pyb.standby(), etc
Last edited by rcolistete on Thu Jun 27, 2019 5:45 pm, edited 1 time in total.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: Low power support on Pyboard D : pyb.wfi, pyb.stop, pyb.standby(), etc
I never found a use for pyb.wfi() because, as stated in the docs, the system tick interrupt cancels it after 1ms max. It's not clear to me how you'd use it effectively in any practical application.
I have tested pyb.stop() on the Pyboard D and it works as expected. You might be interested in this issue on two counts. Firstly it includes advice from @Damien on configuring pins. And secondly my post of April 24t indicates a problem I experienced which is awaiting resolution.
I have tested pyb.stop() on the Pyboard D and it works as expected. You might be interested in this issue on two counts. Firstly it includes advice from @Damien on configuring pins. And secondly my post of April 24t indicates a problem I experienced which is awaiting resolution.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.