A short code snippet for working with I2C

I’m trying to connect an I2C device to the jetson nano by using python. until now i did not find a good and short code in python. I would appreciated that very much if someone provide a snippet or a link to some solution

thanks you in advace

Hi @asnate , I took the liberty of moving this topic to the Jetson Category, this should get your question more visibility.


Have reference to below link.