|
Hi everybody,I installed the wiringpi from https://github.com/kazukioishi/WiringOP.git -b h5, as write in the manual.
When i run the comand gpio load i2c i get an error because the program tries to do mobprobe on i2c-dev ( that isn't a module of Orangepi PC 2 ).
So i changed the voice that said "i2c-dev" in gpio.c to i2c-core ( i think that i2c-dev = i2c-core, correct me if i'm wrong ).
Now i get another problem : gpio can't open /dev/i2c-0 and /dev/i2c-1 because these files or directories don't exist.
Is anyone able to help me ( such as correction to wiringpi lib, or something to download from the terminal... )?
P.S i have a orange pi PC 2 and i have install ubuntu desktop on it.
if u want i will load the corrections that i made on gpio.c.
|
|