maybe a prob with my case wording, as i havent associated it with "state", so there may be no connection between the two
Type: Posts; User: rexnprogress
maybe a prob with my case wording, as i havent associated it with "state", so there may be no connection between the two
but i cant just have
countdown = 255;
countdown = countdown-1;
will it need to be set elsewhere? like in the switch statement?
can anyone find an error in here that would prevent it from switching states?
static unsigned char state;
static unsigned char countdown;
TMR3CN &= ~(0x80); // clear...
if you cant tell im totally new to C. i can find my way through C+, but this is all screwy so im going to have to disassemble existing code (with help from whoever wants to) to figure it out. and im...
thank you.
any guess on the effect of changing just the last number on the original interrupt?
i have a program that causes an LED on an 8051 controller to blink 5 times a second. here is what controlls the timer interrupt:
Timer3_Init (SYSCLK / 12 / 10);
using a system clock at 12...
nevermind, i figured it out...