Closed ChangeClock closed 5 months ago
prepDisplay()
is being called twice.
To improve efficiency and possible conflict involving write, instead of calling esp_camera_fb_get()
, declare another streamBuffer
in processFrame()
in mjpeg2sd.cpp
.
To avoid conflict with log task, replace Serial.println(
) calls with LOG_*
macros.
Cant help with TFT_eSPI.
I'm working on adding an SPI screen feature to this project, which could stream the camera content to a TFT screen attached. This could make this ESP cam working as a peephole camera. I already have a working demo on the display streaming part. But when I added this feature as a task to this project, the display didn't respond to the write action in the task loop ( successfully initiated ).
I'm attaching the modified part below so if anyone could help on this part, it will be a great help.
Currenly my setup is XIAO ESP32S3 Sence with XIAO Round Display
ESP32-CAM_MJPEG2SD.cpp
display.cpp
Also I attached the modified project link here