Skip to content

TimerCAM needs an end/stop method #21

@raduprv

Description

@raduprv

Describe the bug

So my usecase is simple:
I need to check on the battery voltage. If it's ok, I do camera stuff, then I put it to sleep.
However, the camera doesn't seem to work after using TimerCAM.begin(). I am getting i2c errors, and others have gotten them too.

So there should be an end method, so that people can do stuff like read the voltage, end the TimerCAM stuff, use the camera, end the camera, use TimerCAM.begin again, and so on.

Right now, I can't check the voltage at the beginning if I want to sue the camera after that.

To reproduce

Tested on Arduino, but it should be the same all over.

Expected behavior

Be able to terminate TimerCAM

Screenshots

No response

Environment

  • OS:
  • IDE &IDE Version:
  • Repository Version:

Additional context

No response

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