Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

for 4B, also need **bus = smbus.SMBus(1)** #6

Open
shenlijun opened this issue Dec 14, 2020 · 0 comments
Open

for 4B, also need **bus = smbus.SMBus(1)** #6

shenlijun opened this issue Dec 14, 2020 · 0 comments

Comments

@shenlijun
Copy link

somewhere like this need to be modified

if rev == 2 or rev == 3:
bus = smbus.SMBus(1)
else:
bus = smbus.SMBus(0)

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

No branches or pull requests

1 participant