Update ds18b20.go

pull/13/head
Audrius Paskevicius 5 years ago committed by GitHub
parent 7529784a92
commit 8e7a3e227f
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.
// Similar to ConvertAll but returns without waiting for converion to finish.
// To be used in conjunction with LastTemp() function. Conversion timing must be
// Simmilar to ConvertAll but returns without waiting for converion to finish.
// To be used in conjunction with LastTemp() function. Convertion 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