Skip to content

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

@PatrikRindlisbacher

Description

@PatrikRindlisbacher

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

  • OS: Windows
  • IDE &IDE Version: 2.2.1
  • Repository Version: current 01/2024

Issue checklist

  • I searched for previous reports in the issue tracker
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions