pulsin again!anyone plz help!


Results 1 to 36 of 36

Threaded View

  1. #9
    Join Date
    Mar 2011
    Posts
    30


    Did you find this post helpful? Yes | No

    Default Re: pulsin again!anyone plz help!

    thanku archangel sir for replying.

    now the basic purpose of my project is to turn a relay on or off using sirc(sony protocol).

    for this i need to decode just two keysne for on and one for off.or maybe just one key that if a user presses a button 5v appear on output pin and if it presses the same button then it turns off!!this is one point...

    the next point is that the above code is working for
    Code:
    if IRBUTTON >=0 and IRBUTTON < 255 then
     
     
    but not working for 
    if irbutton=16 then high sony led '16 is for channel up

    it is not working for this the above command
    this is the second point...


    and the third point is that i dont understand this
    One more thing, I think portB inputs default to weak pull ups on, turn them off in the option register.
    EDIT: Nope default off. Easy to check with a hi impedance voltmeter though... cant understand this
    Last edited by Archangel; - 27th May 2011 at 00:56. Reason: code tags [code] your code [/code]

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts