Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
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

List of 32 messages in thread
TopicAuthorDate
SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RTFM            01/01/70 00:00      
               RE: RTFM            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
         some day you will go nuts SDCCor not            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
   What does the manual say?            01/01/70 00:00      
      What the manual says            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
               RE: SDCC input from single pin?            01/01/70 00:00      
         RE: SDCC input from single pin?            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
            Charles Bannister            01/01/70 00:00      
            RE: P3_2            01/01/70 00:00      
            Criticisms of Keil            01/01/70 00:00      
               RE: Criticisms of Keil            01/01/70 00:00      
            RE: SDCC input from single pin?            01/01/70 00:00      
   Actually... My fault :)            01/01/70 00:00      
      Steady on...!            01/01/70 00:00      
   RE: SDCC input from single pin?            01/01/70 00:00      
      RE: SDCC input from single pin?            01/01/70 00:00      
      RE: User error            01/01/70 00:00      

Back to Subject List