Which I2CBus implementation to use ?
#1
Posted 11 April 2011 - 10:55 PM
#2
Posted 12 April 2011 - 02:15 AM
#3
Posted 12 April 2011 - 12:46 PM
Your implementation it is then ! Thanks for sharing !My wrapper implements the singleton pattern which allows for thread safe interaction with multiple devices on the bus.
#5
Posted 10 September 2011 - 11:49 PM
#6
Posted 11 September 2011 - 01:49 AM
#7
Posted 11 September 2011 - 04:41 AM
Kind of defeats the purpose of the Single Responsibility Principle doesnt it?
Just take a few minutes reworking the drivers you have to work with either of the I2C wrappers. Its an edumacational experience, you'll understand what is going on and you'll also save flash and ram space by not using two wrappers that do the same job.
I agree... Just have all sorts of other educational experiences to pursue first with this project. Flash space doesn't seem to be an issue yet, so this goes on the back burner. Never having even heard of i2c before last week, I'm just glad that I got my sensors hooked up and working on the first try. My thanks to you and the others who contribute code here.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users