[SOLVED] Unable to communicate GrovePI+ with UP2 board
BinduRao
New Member Posts: 2 ✭
Hi,
I have connected GrovePI+ to UP2 board. I was able to use mraa and test the grove sensors without any issue. I am trying to test the same using GrovePI (DexterInd/GrovePi) instead of mraa. I have modified SMBusName() in grovepi.cpp to use /dev/i2c-5 as GrovePI is detected on this bus. However, i get 'failed to open i2c port' error and unable to set it up. Are there any specific BIOS changes that I have to take care of ?
Comments
-
The problem was with the permissions to access a device. I tried login as root and the issue is resolved.