Are you working with this version?
https://github.com/MakerDrive/PhotoPizza/blob/master/Firmware_for_D340_D480_D700/v4-5%20Espruino%20ESP32/photopizza_esp32_v5.js
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Are you working with this version?
https://github.com/MakerDrive/PhotoPizza/blob/master/Firmware_for_D340_D480_D700/v4-5%20Espruino%20ESP32/photopizza_esp32_v5.js