python - Continuous read of i2c device register while not blocking user generated i2c read or write -


i've had success writing driver in python utilizing smbus module communicate i2c device, need determining best way continuously read device's registers while still allowing user generated interactions (read/write) same device.

the driver i've written class specific class methods tied specific functionality of i2c device.

i feel should putting each i2c read/write queue, such continuous register reads low priority, , user generated reads/writes high priority.

i don't know how go this, , cannot seem put search criteria find example of similar.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -