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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/06 21:30
Read: times


 
Msg Score: -2
 -2 Gimmee Code
 +1 Underrated
 -1 Didn't Search First
#109984 - RC5 code scanning for philips saa3010
Hello Everybody!
I wrote a testing code for scanning rc5 protocol codes to scan philips SAA3010 remote on port P2 by connecting LEDs but it does not do any response to my hardware. i just toggle P2 by using only two ir signals from remote. The code is written below please notify my about my mistake and also help me developing appropiate code. the code is as:

MOV R0,#09
MAIN:

JB P1.0,$
JNB P1.0,$
DJNZ R0,MAIN
MOV R0,#05
CLR A

MAIN2:

call delay_900uc
MOV C,P1.0
RLC A
DJNZ R0,MAIN2
RLC A
RLC A
RLC A
CJNE A,#38,LABEL1

LABEL1:

MOV P2,0FFH
LABEL1:
CJNE A,#39,LABEL2
MOV P2,00H

LABEL2:
JMP MAIN

delay_900us:

TT0: MOV R2,#2
MOV R1,#152
TT1: DJNZ R1,TT1
DJNZ R2,TT1
NOP
RET
END

List of 37 messages in thread
TopicAuthorDate
RC5 code scanning for philips saa3010            01/01/70 00:00      
   not again            01/01/70 00:00      
      not quite the same, but halfway agree            01/01/70 00:00      
   Formatted Fragments            01/01/70 00:00      
      of course he does, but does he care?            01/01/70 00:00      
         And here it is:            01/01/70 00:00      
   Still bugs in code            01/01/70 00:00      
      Then WHY no comments!!!!!!!!!!!!!!!!!            01/01/70 00:00      
         back to basics            01/01/70 00:00      
            ah            01/01/70 00:00      
               I have done all previous attempts            01/01/70 00:00      
                  who cares if you "did" the basics, did y            01/01/70 00:00      
                  Re: I have done all previous attempts            01/01/70 00:00      
                     Silver Platter            01/01/70 00:00      
               I have done all previous attempts            01/01/70 00:00      
                  Previously            01/01/70 00:00      
   Still bugs in code            01/01/70 00:00      
      shame there isnt a 'drop dead' score            01/01/70 00:00      
   please help me            01/01/70 00:00      
      Make an effort.            01/01/70 00:00      
   can we close this thread steve.            01/01/70 00:00      
      One more chance?            01/01/70 00:00      
   whats up discussion goes out of topic            01/01/70 00:00      
      Help - not freebies!            01/01/70 00:00      
         Didn't I try for basic            01/01/70 00:00      
            It doesn't show, I'm afraid.            01/01/70 00:00      
               you forgot what you already posted            01/01/70 00:00      
                  Timewarp            01/01/70 00:00      
                     oh well            01/01/70 00:00      
   Silver Platter            01/01/70 00:00      
      Can this be the last ever RC5 post?!            01/01/70 00:00      
         Amazing            01/01/70 00:00      
            Some people!            01/01/70 00:00      
               if it does not go your way, stamp your            01/01/70 00:00      
      And he does it again!            01/01/70 00:00      
   Yes off course            01/01/70 00:00      
      Post...            01/01/70 00:00      

Back to Subject List