projects
/
pyfrprog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
103f63b
)
right led port for bits pot blue board
author
Bernhard Urban
<lewurm@gmx.net>
Fri, 11 Dec 2009 23:03:58 +0000
(
00:03
+0100)
committer
Bernhard Urban
<lewurm@gmx.net>
Fri, 11 Dec 2009 23:03:58 +0000
(
00:03
+0100)
MAIN.c
patch
|
blob
|
history
RLT.c
patch
|
blob
|
history
diff --git
a/MAIN.c
b/MAIN.c
index b162401f1cccdf00cac21a4c05b7459ef56cb9a4..bdda7bbfcb29fca3d8f5ba140a63558f620a61d4 100644
(file)
--- 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 */
/* For all other devices the I/O Ports must be enabled*/
/* Enable LEDs */
- DDR
27
= 0xFF;
- PDR
27
= 0x00;
+ DDR
14
= 0xFF;
+ PDR
14
= 0x00;
/* Initialize Reload Timer Channel 0 */
RLT_InitializeTimer(0, RLT_RUMMODE_RELOAD, RLT_CLOCKMODE_DIV32, RLT_TRIGGER_SOFTWARE, RLT_OUTOUTMODE_HIGHLEVEL);
/* 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 38a97dfeafaf41724a4c0dcd68aa1179a6b0a8d6..72d4cf36e11273815af5d1ba8b765999f1a525dd 100644
(file)
--- a/
RLT.c
+++ b/
RLT.c
@@
-239,7
+239,7
@@
__interrupt void RLT_Channel0_ISR()
TMCSR0_UF = 0;
/* Do what you have to do */
TMCSR0_UF = 0;
/* Do what you have to do */
- PDR
27
++;
+ PDR
14
++;
}
__interrupt void RLT_Channel1_ISR()
}
__interrupt void RLT_Channel1_ISR()