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:
- 13:66c8e4ce4ff1
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/drvdiag/driver_wrapper/cn0216_diag.h Fri Apr 29 16:19:00 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_ */