I try to sample all 10 ADC pins by 5000Hz but after upload I get a warning:
“[Device] ERROR: bad parameters to sampler.configure(pin, sampleRateHz, buffers, callback[, processors])”.
It works with 8 pins in any combination, but not with all 10. Buffer size change also doesn’t help.
I must take 100 samples per buffer (20ms time). Here is the part of code:
buffer1 <- blob(2000);
buffer2 <- blob(2000);
hardware.sampler.configure([hardware.pinK, hardware.pinJ, hardware.pinH, hardware.pinF, hardware.pinE, hardware.pinC, hardware.pinB, hardware.pinA, hardware.pinW, hardware.pinN], 5000, [buffer1, buffer2], samplesReady);
What I do wrong or it is a bug?.