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.

Revision:
3:a9d61e73fe97
Parent:
1:5d9e9c0682f0
Child:
5:ad382f9f43ca
--- a/I2CTransaction.h	Wed May 21 21:37:49 2014 +0000
+++ b/I2CTransaction.h	Thu May 22 20:15:04 2014 +0000
@@ -13,7 +13,7 @@
     bool waitForCompletion(int timeout = 1000);
     void displayStatus(Serial *pc, char * strg);
     bool success();
-    //bool error();   // Not clear why this is not compiling...
+    bool transmissionError(); 
 
 private:
     static MODI2C *i2c;