My board has three i2c in /dev/ as below.
/dev/i2c-0 /dev/i2c-1 /dev/i2c-2
I do not know which i2c connect with my RTC (I am using ISL12057 RTC), so I try 3 times with following
Code: Select all
self._bus = smbus.SMBus(twi)
self._addr = 0x68I get 2 kinds of error.
1.1 IOError: [Errno 16] Device or resource busy
1.2 IOError: [Errno 5] Input/output error
I do not understand what the error 1.1 and 1.2 are.
Could you give me a solution for solving the error? I really need it to start another task in my project.
