OneWire crc8 function usage
OneWire crc8 function usage
Foolish question. Who can show usage of onewire crc8 function? Which params this function gets? Can't find by myself...
-
- Posts: 363
- Joined: Sun Apr 17, 2016 1:55 pm
Re: OneWire crc8 function usage
Code: Select all
import onewire
ow = onewire.OneWire(Pin(22))
buf=b'\x70\x01\x4b\x46\x7f\xff\x0c\x10\x40'
ow.crc8(buf)