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

Flashing LED #13

Open
ThKrause opened this issue Apr 24, 2020 · 3 comments
Open

Flashing LED #13

ThKrause opened this issue Apr 24, 2020 · 3 comments

Comments

@ThKrause
Copy link

Nice Work, but the flashing LED driving me nuts..

Here is a hint for switch off the flashing LED

In file.cpp change the following line :

bool initFileSystem()
{ if (!SD_MMC.begin())

to
bool initFileSystem()
{ if (!SD_MMC.begin("/sdcard", true))

This switch the SDCARD-Reader to 3-wire-mode and you can control the LED with PIN 4 like
//switch FlashLED off
pinMode(4, OUTPUT);
digitalWrite(4, 0);
Otherwise it is also possible to dimming the LED in PWM-mode

I appended a zip with switched off LED and a WiFimanager
TimeLapse_wo_LED.zip

@vjccruz
Copy link

vjccruz commented Apr 27, 2020

Thank you @ThKrause.

Work for me.

@devinzhang91
Copy link

I modify SD card writing with SPI mode , so that it can using flash light. But it unstable which the photos maybe incomplete.
https://github.com/devinzhang91/esp32_timelapse

@Grey-Lancaster
Copy link

@ThKrause
there is no my_config.h file?

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

4 participants