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

ESP EYE sepcific config always loaded #1

Open
ghost opened this issue Oct 3, 2020 · 0 comments
Open

ESP EYE sepcific config always loaded #1

ghost opened this issue Oct 3, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 3, 2020

Hi there,

Thanks for the great code, but I encountered a minor issue when using it with a ESP32-CAM board.

You can find the following lines below in the cpp. This will always be true even if ESP EYE is not used, as it is always defined in the header file. As this changes the pinMode, unwanted behaviour will occur if pin 13 and /or 14 are used. For us, it caused I2C on pin 13/14 to stop working due to the internal pullup that got enabled.

#if defined(CAMERA_MODEL_ESP_EYE)
pinMode(13, INPUT_PULLUP);
pinMode(14, INPUT_PULLUP);
#endif

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

No branches or pull requests

0 participants