Struggle with pantilthat.get_servo_two()


I’m struggling here folks. Any suggestions as to what I could be doing wrong.

import pantilthat
print pantilthat.get_servo_one() # returns with 90 as expected.
print pantilthat.get_servo_two() # returns with 90 also, expecting 45

Change servo_one to whatever value and the value is returned for servo_one and servo_two.

What am i missing?



This has been reported as a bug recently in GitHub. See:

It’s fixed in Git, but not yet released as a new version. But you can:

git clone
cd pantilt-hat/library
sudo python install


Thanks. Apologies for not picking up the request and action on GitHub. Still learning.