From: Bernhard Urban Date: Fri, 11 Dec 2009 23:03:58 +0000 (+0100) Subject: right led port for bits pot blue board X-Git-Tag: v0.1~48^2~6 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=pyfrprog.git;a=commitdiff_plain;h=df82a5ffd5a4e48455e8eaeffc967449a9a9f578 right led port for bits pot blue board --- diff --git a/MAIN.c b/MAIN.c index b162401..bdda7bb 100644 --- a/MAIN.c +++ b/MAIN.c @@ -55,8 +55,8 @@ void main(void) /* For all other devices the I/O Ports must be enabled*/ /* Enable LEDs */ - DDR27 = 0xFF; - PDR27 = 0x00; + DDR14 = 0xFF; + PDR14 = 0x00; /* Initialize Reload Timer Channel 0 */ RLT_InitializeTimer(0, RLT_RUMMODE_RELOAD, RLT_CLOCKMODE_DIV32, RLT_TRIGGER_SOFTWARE, RLT_OUTOUTMODE_HIGHLEVEL); diff --git a/RLT.c b/RLT.c index 38a97df..72d4cf3 100644 --- a/RLT.c +++ b/RLT.c @@ -239,7 +239,7 @@ __interrupt void RLT_Channel0_ISR() TMCSR0_UF = 0; /* Do what you have to do */ - PDR27++; + PDR14++; } __interrupt void RLT_Channel1_ISR()