merge I2C helper and yaci which it depends on from the experiments branch
started working on error handling
I *really* wonder why eLua has no error checking on these by default...
we do not need to use the curly brackets to denote context here
adding error-handling...
whev, had to convert a lot more in one go than I would liked to, but it was neccessary to make all this still compile
declare status only once
now all I2C functions ought to trigger errors instead of returning funky data
more error handling to I2C
typo fixes
use original authors style for single statement ifs
fix merge conflicts
readability counts
add more error handling
maybe now we can do the repeated start correctly
fix copy-paste issue, document the address scanner
oops... had the arguments wrong way around...
gah, need to figure out how to check for NACK as well...
document the bus_init method
Merge branch 'master' into revc1i2c