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