Universal i2c Support Took A Major Step Forward Today!
"Write Once, Run Everywhere"
16 February 2016
Using a single application that uses a JSON description of ADXL345 Accelerometer operations, I successfully communicated with an Arduino, Raspberry Pi and BeagleBone Black to initialize and retrieve the raw X, Y and Z data from the device.
Each board is able to accept a Xideco set of i2c commands and each board has the capability to translate and execute those commands using its own native i2c library.
What this means is, that on an ongoing basis, new i2c devices will be able to be supported by describing their operations in a single file, and all the boards will be able to support the device without any code changes to the board level (bridge level) code.
Over the next few weeks, I will be further testing and cleaning up the code, and will publish the code as soon as I am satisfied that it is stable.