Search found 1 match
- Sun Oct 07, 2018 6:34 pm
- Forum: ESP32 Arduino
- Topic: AnalogRead interferes with Digital Interrupt
- Replies: 1
- Views: 8115
Re: AnalogRead interferes with Digital Interrupt
In general interrupt routines should do very little processing. If a routine like analogRead() is needed it should be executed in the main processing loop or in a separate task. I measure about 10 us for analogRead() to execute. There is also a digital interrupt with a frequency of 33333 Hz. or 30us...