alanesq / esp32cam-demo

esp32cam module demo / shows how you can easily use the esp32cam including reading raw rgb data, streaming, displaying the image etc.(ArduinoIDE or PlatformIO)
GNU General Public License v3.0
110 stars 18 forks source link

Dataline SDCARD and FlashLED #2

Open sirpete83 opened 3 years ago

sirpete83 commented 3 years ago

Hallo, the Data1 Line is directly connected to the mosfet driving the FlashLED, if I use SDCARD the FlashLED ist turned on a little bit. I must cut the trace and connect to another IO for the LED ?

alanesq commented 3 years ago

This sketch uses "1-bit" mode when accessing the sd card which is slower but doesn't use the LED pin so it should not flash when capturing an image have you turned the flash of in the settings? i.e. const bool flashRequired = 0;

alanesq commented 3 years ago

Update: It seems there are issues with the latest esp32 board manager I have found the LED just stays on full and if no sd card is installed it just keeps restarting (this seems to be a known bug) BTW-I have not had any issue since switching to PlatformIO