Broken Demos
A new headache has has arrived, the ESP32 Core v3.0.0 has broken the demo for squareline studios and
lbgl and lovyan . Think like depricated functions:
ledcAttach(_cfg.pwm_channel, _cfg.freq,PWM_BITS);
// DEPRICATED
// ledcSetup(_cfg.pwm_channel, _cfg.freq, PWM_BITS);
// ledcAttachPin(_cfg.pin_bl, _cfg.pwm_channel);
Slowly working thru them it is painful debugging other peoples libraries.
Any suggestions?
Comments
Hello @RCRoeder ,
Thank you for providing detailed feedback. Regarding the issue you mentioned about the ESP32 Core v3.0.0 update, we fully understand that this has caused inconvenience to your project.
We're sorry as engineers are currently working on software for other projects, the routines cannot be updated for the time being.
Please try to install a lower version of esp32 core to see if you can run the demo.
Best regards,
Elecrow Team
I have done that and solved most of my issues, however touch is not working on one of the boards. I have two, one running the code i wrote and is just fine so far. Then the mix up with libraries. That is fix to the point where on the second board, touch is not working at all. I saw the one post recommending changing the cfg.i2c_port to I@C_NUM_0 and the cfg.ii2c_addr to 0x50. This did not work. I also noticed that the cfg.i2c_sda and cfg.sda_scl were different values. All three version gfx_config,h use the values I have. Is there updated gfx_config?
cfg.i2c_port = I2C_NUM_1;
cfg.pin_sda = GPIO_NUM_19;
cfg.pin_scl = GPIO_NUM_20;
cfg.freq = 400000;
cfg.i2c_addr = 0x14;
the other post suggested
cfg.i2c_port = I2C_NUM_0;
cfg.pin_sda = GPIO_NUM_12;
cfg.pin_scl = GPIO_NUM_13;
cfg.freq = 400000;
cfg.i2c_addr = 0x5D;