pe0mgb / SI4735-Radio-ESP32-Touchscreen-Arduino

SI4735 Radio
134 stars 36 forks source link

ledcSetup error ? #27

Open z34pec opened 2 months ago

z34pec commented 2 months ago

Hello. I am trying to compile latest 3.5 version (my ESP 32 is found as Lilygo T-display). When compiling I receive this error:

'ledcSetup' was not declared in this scope 968 | ledcSetup(LedChannelforTFT, LedFreq, LedResol);

How to solve this problem ?

73 de Z34PEC

z34pec commented 2 months ago

I also tried all of given versions. Also copied suggested files to required TFT_Espi library (one in root of the library and the second in Users_Setup folder). Still receive thess ledcSetup erro while trying to verify your sketch. Where I go wrong I do not know, I lost a day trying to figure out what is the error. Here is screenshot of error. Screenshot 2024-09-08 195945

z34pec commented 2 months ago

OK, looks like I find the cause of this error. At thismoment latest update version of ESP 32 boards from espressif is 3.0.4 and error exist in every version that start with 3.x With 2.0.17 there is no error but no communication is make with esp32 if esp32 is defined as cp210x. For this moment (communication error) the onluy thing to solve this error is to update cp210x drivers to latest (https://www.silabs.com/developers/usb-to-uart-bridge-vcp-drivers?tab=downloads) . And now upload works.

Looks like there should be update of sketch to work with newest esp32 boards updates for 3.0.x and above.