Creates DAC interface

Fork of DevInterfaces by wimbeaumont Project

Revision:
1:5672673314f9
Parent:
0:da1fb7dd363f
Child:
3:b818d68937de
--- a/DACInterface.h	Fri Oct 23 19:34:53 2015 +0000
+++ b/DACInterface.h	Fri Jan 08 11:56:44 2016 +0000
@@ -2,7 +2,7 @@
 #define __DACINTERFACE__
 
 
-#define VERSION_DACINTERFACE_HDR "0.30"
+#define VERSION_DACINTERFACE_HDR "0.40"
 #include "getVersion.h"
 
 class DACInterface: public virtual getVersion{
@@ -14,8 +14,9 @@
     
 virtual int     setDACvalue(int dacvalue, int ch=0){   return 0;};
 virtual int     getDACvalue (int& dacvalue , int ch=0){return 0;};
-virtual int     setVoltage (float voltage, int ch=0){    return 0;};// Write to an I2C slave.
-virtual int     getVoltage(float &voltage, int ch=0){return 0;};//  Write single byte out on the I2C bus.
+virtual int     setVoltage (float voltage, int ch=0){    return 0;};
+virtual int     getVoltage(float &voltage, int ch=0){return 0;};
+virtual int     update() {return 0;};  // general update  by example readout all registers in the device to the class storage. 
     
 };