diff 1wire.h @ 24:2b0ed085b95b

- Change to 38400 baud. - Change to ATMega32 - Use interrupt driven serial comms (for rx anyway) - Reformat.
author darius
date Mon, 12 Dec 2005 23:37:16 +1030
parents 4b141cc7cbd4
children b0cb873c0206
line wrap: on
line diff
--- a/1wire.h	Mon Dec 12 23:32:59 2005 +1030
+++ b/1wire.h	Mon Dec 12 23:37:16 2005 +1030
@@ -40,11 +40,11 @@
 void		OWCRC(uint8_t x, uint8_t *crc);
 void		OWSendCmd(uint8_t *ROM, uint8_t cmd);
 
-#define OWIREOUTPORT		PORTC
-#define OWIREOUTPIN		0
+#define OWIREOUTPORT		PORTD
+#define OWIREOUTPIN		2
 
-#define OWIREINPORT		PINC
-#define OWIREDDR		DDRC
+#define OWIREINPORT		PIND
+#define OWIREDDR		DDRD
 #define OWIREINPIN		OWIREOUTPIN
 
 /* Return codes for OWFirst()/OWNext() */