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

python3 sht21 solution #12

Open
kovacsrobi77 opened this issue Dec 22, 2017 · 2 comments
Open

python3 sht21 solution #12

kovacsrobi77 opened this issue Dec 22, 2017 · 2 comments

Comments

@kovacsrobi77
Copy link

please share the python3 solution file

sht21_python3.zip

@pe2a
Copy link

pe2a commented Oct 24, 2018

I have faced the problem wtih
self.i2c = open('/dev/i2c-%s' % device_number, 'rb+', 0)
So, I have changed it as at below:
self.i2c = open('/dev/i2c-1' , 'rb+', 0)
for Raspberry Pi 3 B+

Thanks for share..

@jwainwright87
Copy link

Thanks for the share, this resolved the problem for me running RPI4 and python3

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