Edward Mallon writes:
I’ve spent the last year in the ‘uncanny valley’ of the Arduino. That’s the point where you understand the tutorials at Arduino.cc, but still don’t get much from the material on gitHub because trained programmers would never stoop to using the wire.h library when they could just roll their own in native C++ using the avr-g++ compiler. The problem with establishing sensor communication at the level of the TWI peripheral inside the AVR is that there are so many fiddling details to keep track of that it quickly overruns the 7±2 things this average human can hold in his head at one time: Computers aren’t the only things that crash after a buffer overflow! So this post is meant to be a chunking exercise for beginner-intermediate level people like myself who want to get a new sensor working using the standard IDE. I’ve tried to distill it all down to things that I run into frequently, but there’s still a lot of material here: So pour yourself a cuppa before diving in…
More details at Arduino based underwater sensors blog.
from Dangerous Prototypes http://ift.tt/2zopQ82