-
Notifications
You must be signed in to change notification settings - Fork 19
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
IOError: [Errno 5] Input/output error #2
Comments
Hi Marc, I've only got a revision 1 Raspberry Pi, so I use I2C device 0. As I understand it, if you have a newer revision 2 Raspberry Pi you need to use I2C device 1. I get the same error as you when I tried changing mine to device 1. It might be worth double checking with i2cdetect (this must be run as root as well) that device 1 is correct. On my machine, there's nothing on device 1. pi@raspberrypi ~/sht21/sht21_python $ sudo i2cdetect -y 1 but you can see sht21 on device 0. pi@raspberrypi ~/sht21/sht21_python $ sudo i2cdetect -y 0 Richard. |
Hi Richard, i already checked that and changed your scriptlone to i2C device 1. Best regards |
same issue here with a 512 MB raspi. emsystech code runs fine but the python code gives me "errno 5" |
Hey,
i want to use your python Version in a script. Currently iam using the C Version of emsystech and this is running fine. So i just used your python script but this is giving me the IO Error: IOError: [Errno 5] Input/output error, even if i run it with sudo.
I also changed the I2C Device Number to 1 because iam using an actual raspberry Version.
What can i do?
Thanks
Marc
The text was updated successfully, but these errors were encountered: