Looked around and could not find anything that did a basic inventory of 1-Wire devices. So here is one that I got going for ZBasic with help from a number of sources.
Spits out to the console: Family Code, 48Bit ID, CRC
10 79:89:D2:01:08:00:16
28 D2:1C:23:00:00:00:11
0C 9A:E8:07:00:00:00:19
12 A8:74:18:00:00:00:2A
12 C5:74:18:00:00:00:A3
12 F5:75:18:00:00:00:83
12 0B:76:18:00:00:00:AC
21 FA:BF:33:00:00:00:8F
Maxim's App note #187 1-Wire Search Algorithm is a beast!
Regards
TimC
1-Wire Search Algorithm
1-Wire Search Algorithm
- Attachments
-
- 1W_CORE_UTIL.bas
- Revised: Clean up unused vars, Removed unneeded compiler options.
- (4.41 KiB) Downloaded 285 times