From ea5d5cf35db999fa4b989d37e1fa6a6e5b81c677 Mon Sep 17 00:00:00 2001 From: Raphael Assenat Date: Fri, 22 Jan 2016 00:05:36 -0500 Subject: [PATCH] Updated MCU port default values (clock) --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index e20e1be..5e7adf7 100644 --- a/main.c +++ b/main.c @@ -196,11 +196,11 @@ void hwinit(void) * 4: NC Output low * 3: (no such pin) * 2: NC Output low - * 1: RESET (N/A: Reset input per fuses) - * 0: XTAL2 (N/A: Crystal oscillator) + * 1: RESET (N/A: Reset input per fuses) (left floating) + * 0: XTAL2 (N/A: Crystal oscillator) (left floating) */ - PORTB = 0x00; - DDRB = 0xff; + DDRC = 0xfc; + PORTC = 0x00; /* PORTD *