Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
KuADT7410 Class Reference
A library for ADT7410 I2C connecting temperature sensor module. More...
#include <KuADT7410.h>
Public Member Functions | |
| KuADT7410 (I2C &i2c, int i2c_address=0x48<< 1) | |
| Constractor of ADT7410 driver. | |
| ~KuADT7410 () | |
| Destractor. | |
| void | reset () |
| Reset target device. | |
| float | get_temp () |
| Get temperature. | |
| unsigned char | get_status () |
| Get status. | |
Detailed Description
A library for ADT7410 I2C connecting temperature sensor module.
Definition at line 9 of file KuADT7410.h.
Constructor & Destructor Documentation
| KuADT7410 | ( | I2C & | i2c ) | [explicit] |
Constractor of ADT7410 driver.
- Parameters:
-
i2c I2C object i2c_address Target's I2C address (LSB is used for R/W flag).
| ~KuADT7410 | ( | ) |
Destractor.
Definition at line 13 of file KuADT7410.cpp.
Member Function Documentation
| unsigned char get_status | ( | ) |
Get status.
Definition at line 27 of file KuADT7410.cpp.
| float get_temp | ( | ) |
Get temperature.
Definition at line 17 of file KuADT7410.cpp.
| void reset | ( | ) |
Reset target device.
Definition at line 35 of file KuADT7410.cpp.
Generated on Mon Aug 1 2022 00:49:53 by
1.7.2