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;
hey,
please try the demo code here
the code CrowPanel ESP Paint just gives me a blank screen. not compiler errors. using:
esp32 2.0.15
lovyan GFX 1.1.12
lvgl 8.3.11
PCA9557 by Patryk WagnerVer. 1.0.0 - First release (16.05.18)
I have ordered anadditional card. this one may be defective
Hi,
Please try to upload the firmware according to this tutorial to check if the board is defective.
i can send stuff to the board, serial.print works fine. screen alwayblank now
Hello @RCRoeder ,
Please try the demo code and modify these two parameters in the sample code we provided, as shown in the screenshot.
Also the demo on your Wiki pages needs to be fixed, it requires usage of lvgl 8.3.3 but Square Line is no longer supporting that version, either 8.3.6 or 8.3.11 and current version is 1.5 not 1.4.1 of squareline