I'm reading chapter 8 of Dr. Molloy's book, which discusses bus access. The example I'm working on right now uses the file system to access devices on the I2C bus. I recognize that this is a typical way to access that bus, but I'm wondering whether it's feasible to bypass the file system and just bit-bang the lines directly.
The purpose of this question is mostly educational, but also for some troubleshooting purposes, as I'm getting a lot of errors when I run the ADXL345.cppexample. In his loop of 60 read iterations, about 15 fail on a usual run for me. I also imagine that real time applications would benefit from bypassing the overhead of the file system, so it seems like a good thing to learn about.