Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added auto focus control functions - see #31 - copied from adafruit_pycamera with minor changes to the timeouts.
Reorganized the library as a "package" so the ov5640_autofocus.bin file could be included in the package.
The usage is the same as for the pycamera library
To execute an autofocus:
to set the focus to a fixed step (0-255)
new examples:
ov5640_jpeg_captutre_af.py
ov5640_jpeg_capture_manual_focus.py
Have been added.
This has been tested on a Rasbperry Pi Pico with the PiCowBell ov5640 autofocus camera breakout board.
It was also tested on a PicoW -- one change was needed to avoid running out of memory on the PicoW
Change
to
This is discussed in #26