Dlloydev / ESP32-ESP32S2-AnalogWrite

ESP32 PWM, Servo, Easing and Tone. Smart GPIO pin management and advanced control features.
MIT License
100 stars 17 forks source link

Can't compil Example #20

Closed appplay01 closed 2 years ago

appplay01 commented 2 years ago

file esp32_pwmWrite.ino

C:\Users\xxxxx\Documents\Arduino\libraries\ESP32_ESP32S2_AnalogWrite\src\pwmWrite.cpp: In member function 'float Pwm::write(uint8_t, int32_t, float, uint8_t, uint32_t)': C:\Users\xxxxx\Documents\Arduino\libraries\ESP32_ESP32S2_AnalogWrite\src\pwmWrite.cpp:216:7: error: 'ledc_channel_config_t' has no non-static data member named 'flags' }; ^ exit status 1 Error compiling for board ESP32 Dev Module.

Dlloydev commented 2 years ago

Sorry for the late response.

Try using the latest versions: