Skip to content

Fill in more of the Camera class and specific camera code, plus GIGA examples #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

KurtE
Copy link

@KurtE KurtE commented Mar 16, 2024

Note; this PR resolves #5

Fill in more of the Camera Class code from Nicla plus
There were several of the methods defined in the main camera
class that were not implemented. That is that the compiler
would complete, but the linker would fail.

It was a simple case of looking at the Camera code in the
Arduino Nicla Vision, to find the implementations.

I extended the class slightly, as most if not all of the
cameras, already had a debug method, so I added it
to the Camera class. I also added extended support
for allowing you to print out the current state
of the camera registers.

Some of the classes in particular HM01B0 and HM0360 had
not implemented the camera vertical flip and Horizontal
mirror, so put that in.

Also put in the change to add 32 bytes to the malloc
for the frame buffer as the code to make sure it was
on a 32 byte boundary could cause memory corruption

Plus I included two sketches I was using to test the code out on the Arduino GIGIA

KurtE added 2 commits March 16, 2024 07:33
There were several of the methods defined in the main camera
class that were not implemented.  That is that the compiler
would complete, but the linker would fail.

It was a simple case of looking at the Camera code in the
Arduino Nicla Vision, to find the implementations.

I extended the class slightly, as most if not all of the
cameras, already had a debug method, so I added it
to the Camera class.  I also added extended support
for allowing you to print out the current state
of the camera registers.

Some of the classes in particular HM01B0 and HM0360 had
not implemented the camera vertical flip and Horizontal
mirror, so put that in.

Also put in the change to add 32 bytes to the malloc
for the frame buffer as the code to make sure it was
on a 32 byte boundary could cause memory corruption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getResolutionWidth and :getResolutionHeight defined but not implemented
1 participant