Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dallas Plugin enhanced : no more "delay()" (#488)
* Enhanced Dallas pooling to avoid use of delay(800) DS_readTemp has been split in 2: DS_convertTemp and DS_readonlyTemp. DS_convertTemp is first called after DS_setResolution. Then DS_convertTemp is called after temp has been read. DS_readTemp has been kept for compatibility. The only downside is that you read the temperature of previous query (value set by Timer/TDT option). * typo * Moved to Environment + code cleaning - Moved Plugin from Temperature to Environment - Modified Plugin_004_DS_crc8 to check CRC8, not return it - Renamed Plugin_004_DS_convertTemp to Plugin_004_DS_startConvertion and removed useless vars in it - Removed unneed braces and empty lines - Added comments
- Loading branch information
Showing
1 changed file
with
57 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters