It looks like ESP32 has actual DAC hardware on gpio 25/26: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/dac.html
By default analogWrite will use software PWM, but on pins 25/26 it tries to use the DAC.
analogWrite
It's possible there is some problem with Espruino's DAC implementation - maybe the pin output mode isn't being set correctly?
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It looks like ESP32 has actual DAC hardware on gpio 25/26: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/dac.html
By default
analogWrite
will use software PWM, but on pins 25/26 it tries to use the DAC.It's possible there is some problem with Espruino's DAC implementation - maybe the pin output mode isn't being set correctly?