Skip to content

TimerCamera F doesn't work with resolutions higher than SVGA #26

@vollukas

Description

@vollukas

Describe the bug

With this code it works only up to SVGA.. if I use anything higher, it freezes during TimerCAM.Camera.get()

    if (!TimerCAM.Camera.begin()) {
        Serial.println("Camera Init Fail");
        return;
    }
    Serial.println("Camera Init Success");

    TimerCAM.Camera.sensor->set_pixformat(TimerCAM.Camera.sensor, PIXFORMAT_JPEG);
    TimerCAM.Camera.sensor->set_framesize(TimerCAM.Camera.sensor, FRAMESIZE_UXGA);
    //TimerCAM.Camera.sensor->set_framesize(TimerCAM.Camera.sensor, FRAMESIZE_SVGA);

    TimerCAM.Camera.sensor->set_awb_gain(TimerCAM.Camera.sensor, 1);
    TimerCAM.Camera.sensor->set_wb_mode(TimerCAM.Camera.sensor, 2);

### To reproduce

1. Setup camera same as me 
2. Try to run it with TimerCamera F

### Expected behavior

It would work same as with camera tool up to FRAMESIZE_UXGA

### Screenshots

_No response_

### Environment


- Repository Version: 1.0.0


### Additional context

_No response_

### Issue checklist

- [X] I searched for previous reports in [the issue tracker](https://github.com/m5stack/M5Stack/issues?q=)
- [X] 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