m5stack / TimerCam-arduino

TimerCam Arduino Library
MIT License
45 stars 25 forks source link

M5 Stack Timer CAM X not work with 240x240 Grayscale #17

Open PatrikRindlisbacher opened 8 months ago

PatrikRindlisbacher commented 8 months ago

Describe the bug

The current M5 stack pattern doesn't work with Grayscale either 240x240 https://github.com/m5stack/TimerCam-arduino/blob/master/examples/capture/capture.ino --> TimerCAM.Camera.sensor->set_pixformat(TimerCAM.Camera.sensor, PIXFORMAT_GRAYSCALE); --> TimerCAM.Camera.sensor->set_framesize(TimerCAM.Camera.sensor, FRAMESIZE_240X240);

To reproduce

--> TimerCAM.Camera.sensor->set_pixformat(TimerCAM.Camera.sensor, PIXFORMAT_GRAYSCALE); --> TimerCAM.Camera.sensor->set_framesize(TimerCAM.Camera.sensor, FRAMESIZE_240X240);

Expected behavior

It works fine with JPG

Screenshots

image

No response

Environment

Issue checklist