pycom / pycom-libraries

MicroPython libraries and examples that work out of the box on Pycom's IoT modules
334 stars 375 forks source link

Pysense improved sleep current #110

Closed catalinio closed 4 years ago

catalinio commented 4 years ago

pycoproc added constructor parameter

What does this implement/fix? Explain your changes.

On Pysense the pysense.go_to_sleep() method did not turned off pressure sensor power. So power consumption was 289uA (@3.7V). Now the current consumption in sleep dropped to 9uA.

Does this close any currently open issues?

Issue was raised by customer.

Any relevant logs, error output, etc?

(If it’s long, please paste to https://gist.github.com and insert the link here)

Any other comments?

Where has this been tested?