RTD reading too slow
the 150 ms delay seems unreasonable. time to select analog muxes shall be much slower
https://github.com/arduino-libraries/Arduino_MachineControl/blob/7697070ed1143df11aac1df8fa7583c1b08cd768/src/Arduino_MachineControl.h#L34
I was just running into this as well. Wondering if there is a way to speed it up? I am also wondering if there is a way to switch the mux and then continue reading other sensors instead of sitting in the mux function on the delay command. Our system is running a loop that would completely stall with a 150 delay.
I had a go at changing the delay to 100ms and it caused instability in the results, with random spikes to ~500degC. Did also make the function non-blocking similar to the common example 'blink without delay' by having the function return a bool that is true when the change is finished. Can submit a pull request if needed.
Hi @pnndra, It is not possible to reduce the delay due to hardware limitations.