Page 1 of 1

SMBUS and MySQL

Posted: Sat 24 Dec 24 2016 11:18 pm
by Daniel Wee
Python support for I2C smbus and MySQL

pip install MySQL-python

apt-get install libmysqlclient-dev build-essential libi2c-dev i2c-tools python-dev libffi-dev
pip install cffi
pip install smbus-cffi

apt-get install python-mysqldb

apt-get install python-smbus