bivab / smbus-cffi

Python bindings for Linux SMBus access through i2c-dev using cffi
GNU General Public License v2.0
61 stars 31 forks source link

Slower than the python-smbus on Raspberry Pi #1

Open weyou opened 10 years ago

weyou commented 10 years ago

I tried this smbus package on my RPi with MCP23017, which has a photodiode module connected. Read the output from the photodiode(High/Low) continuously. The read performance is about 350Hz (calculated in my code). Change to the python-smbus, the read performance is about 560Hz.