Advertisement
silver2row

Trying i2c and pwm

Oct 4th, 2022
815
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1. Please enter a value from 0 to 90: 45
  2. Traceback (most recent call last):
  3.   File "/home/debian/ServoCape/./PCA_USE_ONE.py", line 15, in <module>
  4.     servo()
  5.   File "/home/debian/ServoCape/./PCA_USE_ONE.py", line 11, in servo
  6.     if pwm_controller >= 1 and pwm_controller >= 90:
  7. TypeError: '>=' not supported between instances of 'PCA9685' and 'int'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement