Skip to content
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

Crash when using default Camera constructor - but pins not defined during build #2

Closed
jonnor opened this issue Sep 25, 2024 · 0 comments · Fixed by #3
Closed

Crash when using default Camera constructor - but pins not defined during build #2

jonnor opened this issue Sep 25, 2024 · 0 comments · Fixed by #3
Assignees
Labels
bug Something isn't working

Comments

@jonnor
Copy link

jonnor commented Sep 25, 2024

Hi,
after getting the build working and flashed (ref #1), I got a crash running the example code in the README file.

I narrowed it down to the camera = Camera() call. I suspect this happens because I did not use C defines for the pins (I like to keep the firmware builds as generic as possible).

Since I pass the pin configuration in Python, I could just remove this line and use just the explicit constructor. But it would be very good if this would just raise an exception instead of crashing :)

@cnadler86 cnadler86 self-assigned this Sep 27, 2024
@cnadler86 cnadler86 added the bug Something isn't working label Sep 27, 2024
cnadler86 added a commit that referenced this issue Oct 6, 2024
@cnadler86 cnadler86 mentioned this issue Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants