wiringOP icon indicating copy to clipboard operation
wiringOP copied to clipboard

Use proper i2c port on OrangePI

Open Sonic-Amiga opened this issue 4 years ago • 1 comments

OrangePI uses /dev/i2c-0, handle this correctly

Signed-off-by: Pavel Fedin [email protected]

Sonic-Amiga avatar May 02 '20 21:05 Sonic-Amiga

Hello everyone! Today i've upgraded OS on my OrangePi One-based smart home controller and also updated WiringPI to the last version. Previously this repository didn't exist, so i used this version: https://github.com/zhaolei/WiringOP . It also uses /dev/i2c-0 on OrangePI and i can confirm that it works. Please consider this fix. Also i think it is worth to mention in your README that pin numbers are incompatible with old version. This surprised me, i've spent some time to figure this out.

Sonic-Amiga avatar May 02 '20 22:05 Sonic-Amiga