| ??? 11/05/04 07:08 Read: times |
#80417 - RE: SDCC input from single pin? Responding to: ???'s previous message |
hi,
The following asm works fine: jb P3.2,LEDSLOW call BLINKFAST jmp BLINKINDONE LEDSLOW: call BLINKFAST BLINKINDONE:Could I ask: how do you determine that it "works fine"? As I see, BLINKFAST subroutine is called here and there notwithstanding on P3.2 state. Is it just a typpo? Do always "copy-paste" your code
if(button)
{
blinkslow();
}
else
{
blinkfast();
}What is "button"? How have you defined this variable?
Regards, Oleg |



