Mercurial > ~darius > hgwebdir.cgi > avr
comparison 1wire.c @ 16:026dc24d85e0 AVR_1_3
Spell presence correctly.
author | darius |
---|---|
date | Sat, 17 Sep 2005 18:31:19 +0930 |
parents | 4b141cc7cbd4 |
children | e82d15fa9a1a |
comparison
equal
deleted
inserted
replaced
15:0940abdf2b9d | 16:026dc24d85e0 |
---|---|
195 * Search algorithm from App note 187 (and 162) | 195 * Search algorithm from App note 187 (and 162) |
196 * | 196 * |
197 * OWFirst/OWNext return.. | 197 * OWFirst/OWNext return.. |
198 * 1 when something is found, | 198 * 1 when something is found, |
199 * 0 no more modules | 199 * 0 no more modules |
200 * -1 if no presense pulse, | 200 * -1 if no presence pulse, |
201 * -2 if bad CRC, | 201 * -2 if bad CRC, |
202 * -3 if bad wiring. | 202 * -3 if bad wiring. |
203 */ | 203 */ |
204 uint8_t | 204 uint8_t |
205 OWFirst(uint8_t *ROM, uint8_t do_reset, uint8_t alarm_only) { | 205 OWFirst(uint8_t *ROM, uint8_t do_reset, uint8_t alarm_only) { |