Creates DAC interface

Fork of DevInterfaces by wimbeaumont Project

Files at this revision

API Documentation at this revision

Comitter:
katrijnverhasselt
Date:
Fri Apr 01 08:39:23 2016 +0000
Parent:
2:58f1d5a3f850
Commit message:
I2C test which is not working as it should.

Changed in this revision

DACInterface.h Show annotated file Show diff for this revision Revisions of this file
diff -r 58f1d5a3f850 -r b818d68937de DACInterface.h
--- a/DACInterface.h	Wed Jan 13 14:14:39 2016 +0000
+++ b/DACInterface.h	Fri Apr 01 08:39:23 2016 +0000
@@ -12,10 +12,10 @@
 public : 
     DACInterface():getVersion( VERSION_DACINTERFACE_HDR ,VERSION_DACINTERFACE_HDR , __TIME__, __DATE__){};   //Create an I2C Master interface
     
-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;};
-virtual int     getVoltage(float &voltage, int ch=0){return 0;};
+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; };
+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. 
     
 };