I get the following errors when running smooth.py:
sudo python ./Pimoroni/pantilthat/examples/smooth.py
Traceback (most recent call last):
File “./Pimoroni/pantilthat/examples/smooth.py”, line 6, in
import pantilthat
File “/usr/lib/python2.7/dist-packages/pantilthat/init.py”, line 15, in
pantilthat = PanTilt(i2c_bus=SMBus(1))
File “/usr/lib/python2.7/dist-packages/pantilthat/pantilt.py”, line 51, in init
self._set_config()
File “/usr/lib/python2.7/dist-packages/pantilthat/pantilt.py”, line 63, in _set_config
self._i2c_write_byte(self.REG_CONFIG, config)
File “/usr/lib/python2.7/dist-packages/pantilthat/pantilt.py”, line 131, in _i2c_write_byte
raise IOError(“Failed to write byte”)
IOError: Failed to write byte