Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling issue #73

Open
Firephinix opened this issue Jun 22, 2024 · 1 comment
Open

Compiling issue #73

Firephinix opened this issue Jun 22, 2024 · 1 comment

Comments

@Firephinix
Copy link

I'm having trouble compiling the code.
I'm a newb to coding and generally us chatGPT for codes which so far has worked for my projects but this doesn't seem to want to compile.
Compilation error: 'ledcSetup' was not declared in this scope

I'm using this board https://www.amazon.co.uk/dp/B0BGY69RCK?psc=1&ref=ppx_yo2ov_dt_b_product_details which I think is pretty much the same as the TTGO.

I've tried selecting different boards but still the same error

Please help as I have no idea!

@MartinNohr
Copy link
Owner

Use the espressif board manager for the TTGO t_display. However, you must install versions 2.17. The 3.x versions do not work. I'm working on a fix for this. The ledcSetup is easy to fix, but the 3.x versions break the TFT_eSPI display library and I don't have a fix for that yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants