The reference page for the Servo library does not include the function readMicroseconds()
cpunk7:
The reference page for the Servo library does not include the function readMicroseconds()
Servo - Arduino Reference
Reading the servo angle or the microseconds is a complete waste of time. It just tells you the value you have already set it to.
...R
What if that value was written by an ISR - you might want to know what it was
to see if its worth changing (perhaps you have some jitter-reduction test), so
I disagree. Keeping track of it outside the Servo library duplicates storage too.
Whether it's useful or not it's a working function that's not included in the reference page...
cpunk7:
Whether it's useful or not it's a working function that's not included in the reference page...
That sounds like the function exists but is not documented. I thought in your original post you were asking why that function had not been included in the servo library.
As you can guess I have never found a need for it.
Don't hold your breath waiting for the documentation to be updated. You are not the first to point out shortcomings.
...R