??? 05/27/05 17:16 Read: times |
#94015 - Suspicious pre-increments Responding to: ???'s previous message |
You are pre-incrementing ticks in two places.
It's hard to make out the logic from your unformatted code, but could this be causing you to skip the critical 250 value? Please see the instructions here for How to post code and retain the formatting: http://www.8052.com/forum/read.phtml?id=82476 and don't forget to Preview! BTW: it's generally safer to test for >= than just == to avoid getting caught by such a "skip" bug! |
Topic | Author | Date |
LPC932 Timer Variable | 01/01/70 00:00 | |
Call?! | 01/01/70 00:00 | |
Of Course Not! | 01/01/70 00:00 | |
Initialisation? | 01/01/70 00:00 | |
Here it is Andy! | 01/01/70 00:00 | |
2 things | 01/01/70 00:00 | |
You're the Teacher here | 01/01/70 00:00 | |
replies | 01/01/70 00:00 | |
No, that's not the same code! | 01/01/70 00:00 | |
Suspicious pre-increments | 01/01/70 00:00 | |
Sorry - my mistake![]() | 01/01/70 00:00 |