Update ds18b20.go

pull/13/head
Audrius Paskevicius 5 years ago committed by GitHub
parent 252e1d8c76
commit 15ee888cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,8 +34,8 @@ func ConvertAll(o onewire.Bus, maxResolutionBits int) error {
}
// StartAll starts a conversion on all DS18B20 devices on the bus.
// Simmilar to ConvertAll but returns without waiting for converion to finish.
// To be used in conjunction with LastTemp() function. Convertion timing must be
// Similar to ConvertAll but returns without waiting for converion to finish.
// To be used in conjunction with LastTemp() function. Conversion timing must be
// handled by other means.
func StartAll(o onewire.Bus) error {
if err := o.Tx([]byte{0xcc, 0x44}, nil, onewire.StrongPullup); err != nil {

Loading…
Cancel
Save