You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That’s not how LEDs work. You’re assuming they’re linear devices, but they’re not. There’s no reason not to stick to PWM in this case. The DAC probably is unable to supply enough current to light the LED properly at above, say, 25% of its typical current.
I suggest closing this as it’s definitely not a bug in Espruino.
It seems DAC does not work on the espruino_2v00_esp32.
Goal: dim an LED using the
analogWrite(D26, 0.5)
command.Expected behaviour: LED dims to about 50%.
Actual behaviour: LED dims to about 0%. No light.
Tag: ESP32
Discussion: http://forum.espruino.com/conversations/328147/
The text was updated successfully, but these errors were encountered: