The ACS712 outputs a voltage from 0-5V and the ESP32 ADC reads from 0 to 3.3V using 1.1V as vref. There is a voltage divider already to reduce the 5V to 3.3 range.The problem is: voltage drops on the ...
I'm expecting to see the state of a pin that I'm reading to pull low for maybe 50 us and then back up to high. The original code running on an UNO/Nano code looks about like this:while ((...