--- a/examples/AVR/Slave/main.c Mon Nov 17 21:11:59 2008 +0100
+++ b/examples/AVR/Slave/main.c Mon Nov 17 21:14:43 2008 +0100
@@ -26,7 +26,7 @@
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 @@
OUTPUT void
******************************************************************************/
{
- OSCCAL = 0x43;
+ OSCCAL = 0x43; // adjust the RC oszillator
PORTA = 0xFF; // Inputs (Keys, low active) with pullup
DDRA = 0x00; //