Nov-05-2019, 01:19 PM
Looks good. Now you should have the permission. The use of
I guess the i2c module is not loaded. You have to activate i2c on your Raspberry Pi.
Run raspberry-config: https://www.raspberrypi.org/documentatio...-config.md
Then activate i2c in "Interfacing Options"
After activation you could install i2c-tools, if they aren't installed.
Usually it should be already preinstalled.
If not:
sudo
is not required, but you have tested it with sudo and it did not work, which gives the hint, that the file/device does not exist.I guess the i2c module is not loaded. You have to activate i2c on your Raspberry Pi.
Run raspberry-config: https://www.raspberrypi.org/documentatio...-config.md
Then activate i2c in "Interfacing Options"
After activation you could install i2c-tools, if they aren't installed.
Usually it should be already preinstalled.
If not:
apt-get update && apt-get install i2c-toolsThen run:
i2cdetect -y 1This will show you all connected i2c devices on bus number 1. Bus number 0 is a different one, which is connected internally somewhere.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!