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)
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)