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)" #7

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

for 4B, also need "bus = smbus.SMBus(1)" #7

shenlijun opened this issue Dec 14, 2020 · 2 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)

@meuter
Copy link
Owner

meuter commented Jan 23, 2022

This was part of the original argon1.sh script.

But I'm not sure I get what you mean. Should the if be extended with a new rev? like rev == 4? I don't have access to a 4B so I cannot check myself. Would you mind clarifying a bit?

@fif81
Copy link

fif81 commented Feb 25, 2023

rev doesn't mean the raspberry pi revision but the gpio board layout revision. There is no change required for the raspberry pi 4B

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

3 participants