Emakefun Encoder Motor Arduino Lib 1.1.1
Loading...
Searching...
No Matches
detect_phase_relation Directory Reference

Files

 detect_phase_relation.ino
 Example: Connect the encoded motor to the specified positions E0 as described in the example program. After the program runs successfully, it will print out whether kAPhaseLeads or kBPhaseLeads should be used based on the actual phase relationship between the A and B phases of the encoder during forward rotation of the motor, helping the user determine the value that should be set for the phase_relation parameter when creating an EncoderMotor object.