when i should use i2c.close() in qt ?
Unsolved
Mobile and Embedded
-
This post is deleted!
-
Hi,
@Qt-embedded-developer said in when i should use i2c.close() in qt ?:
so tell me when i need to use this function ?
As silly as it may sound: when you're done reading. Without knowing how you implemented your stuff there's no good way to answer.
Note that this has nothing to do with Qt.
-
In the past I've used the i2c and spi hardware on a raspberry pi.
The Qt framework hasn't got this type of implementation because it is related to each particular device.
For the rasperry pi there are at lmany libraries to do this and I think there is someting similar for imx6.
Normally the i2c / spi / gpio libraries are provide from the hardware vendor.