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"
OUTPUT void
******************************************************************************/
{
- OSCCAL = 0x43;
+ OSCCAL = 0x43; // adjust the RC oszillator
PORTA = 0xFF; // Inputs (Keys, low active) with pullup
DDRA = 0x00; //