how to acccess TWI I2C with python

Started by yoann_q, June 24, 2014, 10:07:19 AM

Previous topic - Next topic

yoann_q

hi,
i want to communicate with ADXL accelerometer using I2C interface using python , i haven't try anything for the momment but is there any example to start ?
best regards

martinayotte

The I2C library in Python is called "smbus". You can install it using "apt-get install python-smbus".

yoann_q