Pages: [1]   Go Down
Author Topic: Servo Library reference omission  (Read 96 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The reference page for the Servo library does not include the function readMicroseconds()

http://arduino.cc/en/Reference/Servo

Logged

UK
Offline Offline
Tesla Member
***
Karma: 135
Posts: 7771
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The reference page for the Servo library does not include the function readMicroseconds()
http://arduino.cc/en/Reference/Servo

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
Logged

0
Online Online
Shannon Member
****
Karma: 216
Posts: 12554
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

[ I won't respond to messages, use the forum please ]

Pages: [1]   Go Up
Jump to: