cybergibbons / DS2482_OneWire

A OneWire library using the DS2482 I2C->1-Wire bridge
28 stars 26 forks source link

Add a way to change channels on the DS2482-800 #7

Closed andypugh closed 3 years ago

andypugh commented 3 years ago

I am using the DS2482-800 and could not see a way to switch channels in your code. I borrowed the byte patterns from the paeae repo, but coded it rather more compactly. The #include stddef.h seemed to be required to compile on ESP32. (includes the size_t definition)

cybergibbons commented 3 years ago

Thanks! Merged.