can you explain why you think analogRead is too slow?
the code would be better written as a state machine (Yet another Finite State Machine introduction) rather than having all those blocking while loops
can you explain why you think analogRead is too slow?
the code would be better written as a state machine (Yet another Finite State Machine introduction) rather than having all those blocking while loops