I am trying to get i2c working on my Pi2. I am running Raspbian (most recent version for Pi2). Have gone through config and enabled I2C and SPI as both will be needed for my projects.
I am trying to get a ds1307 RTC working. From what I've read running the command below is supposed to detect the devices. However I get the following error.
- Code: Select all
sudo i2cdetect -y 0
Error: Could not open file `/dev/i2c-0' or `/dev/i2c/0': No such file or directory
I also tried -y 1 per another article on newer PIs and this throws same error.
I am not finding much info out there on Pi2 and I2C. Does anyone have any advice or experience with this?