Advertisement
silver2row

Ben_+_ServoCape

Oct 28th, 2022
1,354
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.45 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/debian/Use_Servo/Servos/./pwmsTwo.py", line 15, in <module>
  3.     servos.add_servos([{'name':'1a'}], [{'servo_nos':'0'}], [{'max_angle':'180'}])
  4.   File "/home/debian/Use_Servo/Servos/Servo.py", line 62, in add_servos
  5.     self.servos[name] = Servo([{servo_nos, max_angle}])
  6. TypeError: unhashable type: 'list'
  7.  
  8. # What does the above error state?
  9.  
  10. # I was not trying to "hash" or create a "hashable" instance.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement