A collection of Analog Devices drivers for the mbed platform
For additional information check out the mbed page of the Analog Devices wiki: https://wiki.analog.com/resources/tools-software/mbed-drivers-all
Diff: examples/drvdiag/driver_wrapper/CN0216_Diag.h
- Revision:
- 24:dae7123d432a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/examples/drvdiag/driver_wrapper/CN0216_Diag.h Wed May 18 16:57:57 2016 +0300
@@ -0,0 +1,21 @@
+
+#ifndef CN0216_DIAG_H_
+#define CN0216_DIAG_H_
+#include "CN0216.h"
+
+class CN0216_Diag
+{
+public:
+ CN0216_Diag(CN0216& cn);
+
+ void init(void);
+ void calibrate(void);
+ void read_weight(void);
+
+
+private:
+ CN0216& dut;
+};
+
+
+#endif /* CN0216_DIAG_H_ */
CN0357 - Toxic gas measurement
CN0216 - Weight Scale