Step by step access to i2c from UBUNTU 16.4
Options
Kiko
New Member Posts: 1 ✭
I have installed UBUNTU, 4.4.0-2-upboard .
I can flip/flop GPIO devices, but trying to write to any of the /dev/i2c devices produces no output in the device.
Do I need to configure the device in some way prior to try to write in the device?
Do you have some complete small example working?
Thanks in advance
I can flip/flop GPIO devices, but trying to write to any of the /dev/i2c devices produces no output in the device.
Do I need to configure the device in some way prior to try to write in the device?
Do you have some complete small example working?
Thanks in advance
Comments
-
Use i2c-tools, ie. i2cget and i2cset, if you want to use I2C from the command-line, or libmraa/libsoc/Linux ioctl-calls, if you're trying to use I2C from your own code.
Categories
- All Categories
- 63 Announcements & News
- 139 Product News - New Product/Product Change Notice/ End-of-life
- 112 Welcome Developers!
- 60 Unboxing & Project Sharing
- 114 Tech Updates
- 3.6K UP Products
- 119 UP 7000
- 25 UP Squared i12
- 24 UP Xtreme i12
- 14 UP Squared Pro 7000
- 1 UP Element i12 Edge
- 24 UP Squared V2
- 65 UP 4000
- 23 UP Xtreme i11
- 34 UP Squared 6000
- 59 UP Squared Pro
- 135 UP Xtreme
- 820 UP Squared
- 1.4K UP Board
- 74 UP Core Plus
- 217 UP Core
- 3 UP Xtreme Lite
- 40 UP AI Edge
- 265 Starter Kits & Peripheral