Search found 4 matches

by letmeout
Fri Dec 25, 2020 2:07 pm
Forum: ESP32 Arduino
Topic: ADC analogSetCycles = 1 yields all analogReads = adc max
Replies: 2
Views: 4034

Re: ADC analogSetCycles = 1 yields all analogReads = adc max

Avoidance was the path of least resistance taken, if memory serves.
That means the 'solution' was to set analogSetCycles to any valid value, except one.
by letmeout
Sun Nov 01, 2020 12:46 am
Forum: Report Bugs
Topic: Wi-Fi Acces Point + FastLED = Impossible ?
Replies: 5
Views: 12795

Re: Wi-Fi Acces Point + FastLED = Impossible ?

It is always helpful if you include error messages. Maybe you saw in the serial monitor something like ***ERROR*** A stack overflow in task another Task has been detected. abort() was called at PC 0x4008c67c on core 0 Backtrace: 0x4008c434:0x3ffb81d0 0x4008c665:0x3ffb81f0 0x4008c67c:0x3ffb8210 0x400...
by letmeout
Sun Oct 25, 2020 8:25 pm
Forum: ESP32 Arduino
Topic: ESP32 crashing after deep sleep wake-up
Replies: 1
Views: 3937

Re: ESP32 crashing after deep sleep wake-up

Just a couple of opinions/options: 1) I think of the capacitive TOUCH wake-up source appropriate if waiting for a living being to touch a 'pad' attached to a gpio pin. It seems you are waiting on a water level sensor value, so you might be more successful using an EXTERNAL source esp_sleep_enable_ex...
by letmeout
Wed Oct 14, 2020 11:08 pm
Forum: ESP32 Arduino
Topic: ADC analogSetCycles = 1 yields all analogReads = adc max
Replies: 2
Views: 4034

ADC analogSetCycles = 1 yields all analogReads = adc max

While exploring how adc1 responds to option setting limits, I came across this one unexpected behavior. If analogSetCycles(1) is called before calling analogRead, adc1 only produces readings of 4095 (max value for default 12 bit resolution). Other settings tried included 2,8,127, and 255, all of whi...