You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
#!/usr/bin/env python3
import automationhat
automationhat.relay.one.on()
File "/usr/lib/python3.6/site-packages/automationhat/init.py", line 303, in is_automation_hat
setup()
File "/usr/lib/python3.6/site-packages/automationhat/init.py", line 354, in setup
_ads1015 = ads1015(smbus.SMBus(1))
File "/usr/lib/python3.6/site-packages/automationhat/ads1015.py", line 26, in init
raise TypeError("Object given for i2c_bus must implement write_i2c_block_data and read_i2c_block_data")
TypeError: Object given for i2c_bus must implement write_i2c_block_data and read_i2c_block_data
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#!/usr/bin/env python3
import automationhat
automationhat.relay.one.on()
File "/usr/lib/python3.6/site-packages/automationhat/init.py", line 303, in is_automation_hat
setup()
File "/usr/lib/python3.6/site-packages/automationhat/init.py", line 354, in setup
_ads1015 = ads1015(smbus.SMBus(1))
File "/usr/lib/python3.6/site-packages/automationhat/ads1015.py", line 26, in init
raise TypeError("Object given for i2c_bus must implement write_i2c_block_data and read_i2c_block_data")
TypeError: Object given for i2c_bus must implement write_i2c_block_data and read_i2c_block_data
The text was updated successfully, but these errors were encountered: