From 8af7e82164f9aa299bc8f86bc707dd39c5535e1e Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Sun, 24 Mar 2013 15:14:04 +0100 Subject: digital/beacon: activate pull-up on codewheel signal --- digital/beacon/src/codewheel.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'digital/beacon') diff --git a/digital/beacon/src/codewheel.c b/digital/beacon/src/codewheel.c index 74c8eb2e..73c0329f 100644 --- a/digital/beacon/src/codewheel.c +++ b/digital/beacon/src/codewheel.c @@ -41,6 +41,9 @@ void codewheel_init(void) /* Set codewheel state*/ codewheel_set_state(CODEWHEEL_INIT); + /* activated pull up on E6 */ + PORTE = 0x40; + /* Select external clock on rising edge for timer 3 */ TCCR3B |= (1<