Class for representing and controlling entire I2C transactions (the master side). This class allows one to separate in code the configuration of I2C transactions from their use. This property simplifies the process of executing transactions in, for example, the body of a real-time control loop.
Diff: I2CTransaction.h
- Revision:
- 1:5d9e9c0682f0
- Parent:
- 0:96a7926b9d64
- Child:
- 3:a9d61e73fe97
--- a/I2CTransaction.h Wed May 21 21:12:32 2014 +0000 +++ b/I2CTransaction.h Wed May 21 21:37:49 2014 +0000 @@ -13,7 +13,7 @@ bool waitForCompletion(int timeout = 1000); void displayStatus(Serial *pc, char * strg); bool success(); - bool error(); + //bool error(); // Not clear why this is not compiling... private: static MODI2C *i2c;