ESP32 - Analog read GPIO 33 affects interrupt on pin GPIO 36?
Posted: Wed Jun 07, 2023 12:54 pm
In the ESP32 design, GPIO 36 is connected to a push button and configured as input (that's all it can be anyway). and used to trigger interrupts. This is working well.
I just started to use GPIO 33 as an analog input, to read from a potentiometer, using AnalogRead command. This is working well, tested standalone.
When tested with the main software, it seems that AnalogRead of GPIO 33 is triggering an interrupt on GPIO 36.
When the AnalogRead of GPIO[/Codebox]33 is disabled, the problem stops. Is there a reason for that?
Another thing: I use PWM (channel 0) - I don't think that is relevant because the ADC is not related to the PWM, right?
I just started to use GPIO 33 as an analog input, to read from a potentiometer, using AnalogRead command. This is working well, tested standalone.
When tested with the main software, it seems that AnalogRead of GPIO 33 is triggering an interrupt on GPIO 36.
When the AnalogRead of GPIO
- [Codebox=cpp file=Untitled.cpp]
Another thing: I use PWM (channel 0) - I don't think that is relevant because the ADC is not related to the PWM, right?