From: Jan "Yenya" Kasprzak Date: Thu, 19 Dec 2013 20:50:55 +0000 (+0100) Subject: scxreader.c: use pin PD2 by default X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=367cd9149da6051bae25c931e430e8633f77dcdb;p=scxreader.git scxreader.c: use pin PD2 by default --- diff --git a/scxreader.c b/scxreader.c index 71e1f7e..5f5b378 100644 --- a/scxreader.c +++ b/scxreader.c @@ -6,7 +6,7 @@ #include "uart.h" // which pin is the zener diode connected to -#define read_scx_pin() (PINB & _BV(PB2)) +#define read_scx_pin() (PIND & _BV(PD2)) // how many consecutive readings have to be the same in order to // accept the pin value