Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
ESP32: DAC does not seem to work #1574
It seems DAC does not work on the espruino_2v00_esp32.
Goal: dim an LED using the
Expected behaviour: LED dims to about 50%.
Actual behaviour: LED dims to about 0%. No light.
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.