espruino / EspruinoDocs

See http://espruino.com for the complete Espruino Documentation - many links in this repository will not work
http://www.espruino.com/
Other
253 stars 282 forks source link

Use sleep/wakeup commands for PMS7003 sensor #635

Closed gniezen closed 2 years ago

gniezen commented 2 years ago

Newer releases of the PMS7003 sensor don't power down when the RESET or SET pins are pulled low, so we have to use the sleep/wakeup commands if we want to save energy.

I've removed the references to the RESET and SET pins are they're not relevant anymore, and replaced it with the sleep/wakeup commands.

gfwilliams commented 2 years ago

That looks great- thank you!