differential input adc board K64F Compatible hal freescale K64F

Dependents:   trms_helloworld AnalogIn_Diff_helloworld

Fork of AnalogIn_Diff by frederic blanc

Revision:
0:0f6f4be28e21
Child:
1:7b36e4381d83
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/AnalogIn_Diff.h	Tue May 20 00:58:33 2014 +0000
@@ -0,0 +1,26 @@
+
+#ifndef K64F_DIFF_A2D_H
+#define K64F_DIFF_A2D_H
+
+#include "mbed.h"
+
+
+class AnalogIn_Diff
+{
+public:
+  AnalogIn_Diff(int channel);
+
+  /**
+  * AnalogIn_Diff destructor
+  */
+  ~AnalogIn_Diff();
+   int16_t read_16(void);
+   float read(void);
+   
+private:
+
+  int ch;
+
+};
+
+#endif
\ No newline at end of file