Open
Description
When running ex2_full_sweep_with_180_deg_servo.py with debug enabled:
test = pi_servo_hat.PiServoHat(None, 1)
I get this output:
PWM Frequency: 50
Bit number is outside the bounds of the byte length.
Bit number is outside the bounds of the byte length.
Bit number: 4
Byte length: 3
Bit number is outside the bounds of the byte length.
Bit number: 5
Byte length: 3
PWM Frequency: 50
Bit number is outside the bounds of the byte length.
Bit number is outside the bounds of the byte length.
Bit number: 4
Byte length: 3
Servo Range: 180
On value: 0
Off value: 205
Total (max. 4096): 205
Bit number is outside the bounds of the byte length.
Bit number is outside the bounds of the byte length.
Bit number: 5
Byte length: 3
Servo Range: 180
On value: 0
Off value: 410
Total (max. 4096): 410
...
The 'Bit number is outside the bounds of the byte length.' seems like there is a bug somewhere.
We have two servos, one is definitely confirmed to support 180 degrees, but with the above mentioned example, they only do 90 degrees. The above errors makes me wonder if it is related.
The same issue appears in whatever version pip installs, as well as the downloaded master from here @ github (for pi_servo_hat as well as all the qwiic stuff)
Metadata
Metadata
Assignees
Labels
No labels