Functions for DHT11 and DHT22 Temperature and Humidity Sensors. More...
Go to the source code of this file.
Functions for DHT11 and DHT22 Temperature and Humidity Sensors.
Functions for reading the DHT11 and DHT22 temperature and humidity values. This is a blocking version of the DHT library, meaning code is blocked for about 5ms while a read takes place. The "nz_sensDht.h" and "nz_sensDht.c" is the non blocking version.
The following defines are used to configure this module, and should be placed in projdefs.h. Note that all items marked [-DEFAULT-] are defaults, and do not have to be placed in projdefs.h if they contain desired configuration! For details, see Project Configuration.
To use this module, the following must be done:
For details, see DHT22 and DHT11 demos in "../src/demos/sensors/" folder of Netcruzer Download.
The software supplied herewith is owned by Modtronix Engineering, and is protected under applicable copyright laws. The software supplied herewith is intended and supplied to you, the Company customer, for use solely and exclusively on products manufactured by Modtronix Engineering. The code may be modified and can be used free of charge for commercial and non commercial applications. All rights are reserved. Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil liability for the breach of the terms and conditions of this license.
THIS SOFTWARE IS PROVIDED IN AN 'AS IS' CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
File History
2014-01-02, David H. (DH):