Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

still doesn't work, i2c support with any python3 driver not functional yet, workaround could be to implement with python2 #1

Open
jatty opened this issue Dec 23, 2018 · 0 comments

Comments

@jatty
Copy link
Owner

jatty commented Dec 23, 2018

#!/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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant