Search found 62 matches

by Hans Dorn
Tue Feb 21, 2017 8:20 pm
Forum: ESP32 Arduino
Topic: A little help for a new guy (loop() and interrupts/tasks/something else)
Replies: 2
Views: 5387

Re: A little help for a new guy (loop() and interrupts/tasks/something else)

" LoadProhibited" probably means you tried to dereference a NULL pointer.

I guess "ts.getPoint()" returned NULL when you called it.

Cheers
Hans
by Hans Dorn
Tue Feb 21, 2017 2:28 am
Forum: ESP32 Arduino
Topic: ADC Sample rate
Replies: 13
Views: 58696

Re: ADC Sample rate

FWIW, I see the following sample rates with analogRead: ADC1: about 105,000 Samples/second (9.5µs per sample) ADC2: about 87,000 Samples/second (11.5µs per sample) Example code: // Get CPU cycle counter (240MHz) uint32_t IRAM_ATTR cycles() { uint32_t ccount; __asm__ __volatile__ ( "rsr %0, ccount" :...