[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.
Categories
- All Categories
- 105 Announcements & News
- 54 Product News - New Product/Product Change Notice/ End-of-life
- 185 Welcome Developers!
- 55 Unboxing & Project Sharing
- 48 Tech Updates
- 693 UP Products
- 11 UP 7000
- 1 UP Squared i12
- 10 UP Xtreme i12
- 11 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 19 UP Squared V2
- 59 UP 4000
- 24 UP Xtreme i11
- 35 UP Squared 6000
- 60 UP Squared Pro
- 143 UP Xtreme
- 837 UP Squared
- 1.4K UP Board
- 89 UP Core Plus
- 222 UP Core
- 3 UP Xtreme Lite
- 44 UP AI Edge
- 216 Starter Kits & Peripheral