Quote:
Originally Posted by jeff5may
I am having no trouble with only one sensor, but with multiple sensors, I am looking for some code that can grab the addresses and data and write the values to an array or a matrix or something.
|
I have code that does this. I will post it later today or tomorrow when I am at home, but ...
Quote:
What I'm finding in this (arduino) realm is just a google of snippets of code that call other modules or libraries to do most of the actual work. While this approach is OK for a device that only does one or two things, it's not very robust. It also ties up a whole lot of real estate on the chip, making the program run slower.
|
I prefer to take the library approach. I guess our goals are different. I know how much work it takes to create custom code that is as robust as a reputable library, and I am not particularly constrained by chip real estate or speed. For me the library approach makes sense.