does analogWrite(PIN, 0.5) use less power than digitalWrite(PIN, 1)? #5948
Unanswered
espruino-discuss3
asked this question in
General
Replies: 1 comment
-
Posted at 2018-06-07 by @gfwilliams Hi, You're using a Pico? So it's an STM32... http://www.espruino.com/Power+Consumption has some figures for power usage, but basically:
You could try: Your other options are:
It's a bit like software PWM but it'll work much better with multiple LEDs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2018-06-07 by BootySnorkeler
Hey everyone,
does analogWrite(PIN, 0.5) use less power than digitalWrite(PIN, 1)?
I'm making a power-critical project and I would like to know if analogWriting an LED half-brightness uses less energy than digitalWriting it to full 1.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions