Hey,
I am running in to this error almost every time i use the pan-tilt hat and the servo’s doesnt even move.
Anyone know any solutions to this?
Traceback (most recent call last):
File “/home/pi/track/facetracker.py”, line 37, in
pan(cam_pan-90)
File “/usr/lib/python3/dist-packages/pantilthat/pantilt.py”, line 466, in servo_one
self.setup()
File “/usr/lib/python3/dist-packages/pantilthat/pantilt.py”, line 80, in setup
self._set_config()
File “/usr/lib/python3/dist-packages/pantilthat/pantilt.py”, line 118, in _set_config
self._i2c_write_byte(self.REG_CONFIG, config)
File “/usr/lib/python3/dist-packages/pantilthat/pantilt.py”, line 209, in _i2c_write_byte
raise IOError(“Failed to write byte”)
OSError: Failed to write byte