Skip to content

ledcSetup compile error, any idea which lib should be used? #18

Description

@rolandbreedveld

Hi I get these compile errors, perhaps using a wrong lib version?

regards, Roland

...../TTGOWeatherStation/Weather/Weather.ino:60:3: error: 'ledcSetup' was not declared in this scope
60 | ledcSetup(pwmLedChannelTFT, pwmFreq, pwmResolution);
| ^~~~~~~~~
.../TTGOWeatherStation/Weather/Weather.ino:61:17: error: 'TFT_BL' was not declared in this scope; did you mean 'TFT_CS'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~
| TFT_CS
.../TTGOWeatherStation/Weather/Weather.ino:61:3: error: 'ledcAttachPin' was not declared in this scope; did you mean 'ledcAttach'?
61 | ledcAttachPin(TFT_BL, pwmLedChannelTFT);
| ^~~~~~~~~~~~~
| ledcAttach

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions