CUER version of the DS1820 library
Fork of DS1820 by
Revision 2:4c7277e9f267, committed 2017-08-18
- Comitter:
- DasSidG
- Date:
- Fri Aug 18 08:48:40 2017 +0000
- Parent:
- 1:91aa74f0cb0e
- Commit message:
- Commented out wait in the read-temperature function for the benefit of the temperature measurement board (to speed up temperature meaurement).
Changed in this revision
DS1820.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 91aa74f0cb0e -r 4c7277e9f267 DS1820.cpp --- a/DS1820.cpp Sun Jul 02 15:10:13 2017 +0000 +++ b/DS1820.cpp Fri Aug 18 08:48:40 2017 +0000 @@ -268,9 +268,10 @@ onewire_byte_out( 0x44); // perform temperature conversion if (_parasite_power) _parasitepin = 0; // Parasite power strong pullup - wait_ms(delay_time); + /*wait_ms(delay_time); if (_parasite_power) _parasitepin = 1; + */ //TODO: UNCOMMENT THIS TO RESTORE NORMAL LIBRARY FUNCTIONALITY. This has been commented out so that the delay happens in the loop for all temperature buses at once, rather than one at a time } void DS1820::read_RAM() {