From 47ffdd9f969d7b35d294f42a10bcf3a22a72dbff Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 17 Nov 2008 20:14:43 +0000 Subject: [PATCH 1/1] 1.2 --- examples/AVR/Slave/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/AVR/Slave/main.c b/examples/AVR/Slave/main.c index 57a74a2..b08abcf 100644 --- a/examples/AVR/Slave/main.c +++ b/examples/AVR/Slave/main.c @@ -26,7 +26,7 @@ Test projekt for a DS 401 slave, running on Atmel's STK500 with AT90CAN128 Short description: PORTA: Inputs (Keys, low active) PORTB: Outputs (LEDs, low active) - PORTC: Node ID (1 BCD switch) + PORTC: Node ID (1 BCD switch, low active) ******************************************************************************/ #include "hardware.h" @@ -104,7 +104,7 @@ INPUT LOCK_STATES *lock_states OUTPUT void ******************************************************************************/ { - OSCCAL = 0x43; + OSCCAL = 0x43; // adjust the RC oszillator PORTA = 0xFF; // Inputs (Keys, low active) with pullup DDRA = 0x00; // -- 2.39.2