ESP32_AnalogWrite icon indicating copy to clipboard operation
ESP32_AnalogWrite copied to clipboard

Provides an analogWrite polyfill for ESP32 using the LEDC functions

Results 3 ESP32_AnalogWrite issues
Sort by recently updated
recently updated
newest added

``` #include #include int brightStep = 1; int brightness = 0; uint8_t ledR = 34; uint8_t ledG = 35; uint8_t ledB = 32; uint8_t ledW = 33; void setup() {...

I was working nearly half day to pinpoint why some of the my esp32 pins not working. when changing analogwrite to digital it suddenly start working. I think those pins...

The example code gives me this error "c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp: In function 'int analogWriteChannel(uint8_t)': c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp:44:9: error: 'ledcSetup' was not declared in this scope 44 | ledcSetup(channel, _analog_write_channels[i].frequency, _analog_write_channels[i].resolution); | ^~~~~~~~~ c:\Users\User\Documents\Arduino\libraries\ESP32_AnalogWrite\analogWrite.cpp:45:9: error:...