Just place this line in your code:
FindDevices();
The addresses of devices on the bus will be output with the two-digit family code on the end of each address. The code has been tested by another user.
Actually, I now use the DS2482-100 i2c to one wire bridge ic instead of bit-banging it.
Edited:
There is code now in application note 3684 that includes the search code using the chip's triplet hardware. I wrote my own before Dallas published the application note.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum