I have a custom PCB using an ESP8266-12E to do AP+Station, Config page, NIST, REST, DST, etc. Works great.
Problem is I need to sample at 8KHz and the analogRead() function won't go above 2.5KHz.
pvvx's Web Master has read_adcs(), which samples at 20KHz.
1) How do you get it to compile / work in Arduino?
2) If you run it in Arduino in loop(), how fast does it run?