You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HW:
OrangePi5, and its available I2C dev are: /dev/i2c-1, /dev/i2c-3, /dev/i2c-5.
OS:
Orangepi5_1.1.8_ubuntu_jammy_desktop_xfce_linux6.1.43
the operating system default i2c dev include: /dev/i2c-0 /dev/i2c-10 /dev/i2c-2 /dev/i2c-6 /dev/i2c-7 /dev/i2c-9
That means, this function wiringPiI2CSetup could be initialized successfully (WITHOUT open device failure) in any case, but it cannot obtain the valid register values...
The text was updated successfully, but these errors were encountered:
HW:
OrangePi5, and its available I2C dev are: /dev/i2c-1, /dev/i2c-3, /dev/i2c-5.
OS:
Orangepi5_1.1.8_ubuntu_jammy_desktop_xfce_linux6.1.43
the operating system default i2c dev include: /dev/i2c-0 /dev/i2c-10 /dev/i2c-2 /dev/i2c-6 /dev/i2c-7 /dev/i2c-9
But, in wiringOP sources:
wiringOP/wiringPi/wiringPiI2C.h
Line 38 in ce520ea
wiringOP/wiringPi/wiringPiI2C.c
Line 228 in ce520ea
`/*
*/
int wiringPiI2CSetup (const int devId)
{
int rev ;
const char *device ;
int model;
}`
The default I2C device used in code is i2c-0.
That means, this function
wiringPiI2CSetup
could be initialized successfully (WITHOUT open device failure) in any case, but it cannot obtain the valid register values...The text was updated successfully, but these errors were encountered: