diff 1wire.h @ 33:0aa6bf4b98ae

- Don't wrap individual debug statements in ifdef, use a conditionally defined macro instead. - Add OWProgROM routine, can't remember if I actually tested it tho :)
author darius
date Tue, 23 Oct 2007 10:51:35 +0930
parents b0cb873c0206
children 5898fba6593c
line wrap: on
line diff
--- a/1wire.h	Sun Apr 23 22:57:16 2006 +0930
+++ b/1wire.h	Tue Oct 23 10:51:35 2007 +0930
@@ -40,6 +40,7 @@
 uint8_t		OWNext(uint8_t *ROM, uint8_t do_reset, uint8_t alarm_only);
 void		OWCRC(uint8_t x, uint8_t *crc);
 void		OWSendCmd(uint8_t *ROM, uint8_t cmd);
+uint8_t		OWProgROM(uint8_t *ROM, uint8_t start, uint8_t len, uint8_t *data, uint8_t exact, uint8_t status);
 
 /* Return codes for OWFirst()/OWNext() */
 #define OW_BADWIRE		-3