??? 03/16/07 13:43 Read: times |
#135103 - Check with debugger Responding to: ???'s previous message |
Hi Michael. I checked your piece of code in my Keil package and it works. With a 24MHz clock, it produces .75 seg delay and, because no endless loop is included, it restarts forever. I suppose you connected the LED from Vcc to some pin of P1.
May be you have some problem in setting Keil uVision for SRC generation/compiling. Do you get any error message after rebuild all targets? Daniel |
Topic | Author | Date |
Help with the delay program | 01/01/70 00:00 | |
What does it do? | 01/01/70 00:00 | |
Hints. | 01/01/70 00:00 | |
Check with debugger | 01/01/70 00:00 | |
could this be it ? | 01/01/70 00:00 | |
Difficult to see | 01/01/70 00:00 | |
that depends | 01/01/70 00:00 | |
RET in main | 01/01/70 00:00 | |
nope - and compiler dependent | 01/01/70 00:00 | |
RET in functions | 01/01/70 00:00 | |
how do you know that ? | 01/01/70 00:00 | |
Because of Startup | 01/01/70 00:00 | |
ah | 01/01/70 00:00 | |
some contra | 01/01/70 00:00 | |
in other words - and who cares![]() | 01/01/70 00:00 |