1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

Sony Infared Code in C18

Discussion in 'Microcontrollers' started by AtomSoft, May 29, 2009.

  1. haxan

    haxan New Member

    Joined:
    Nov 17, 2009
    Messages:
    387
    Likes:
    0
    Yeah have read through it. I have set up Flags to allow/avoid repeated behavior on buttons. Its working fine for now :)
     
  2. Mike - K8LH

    Mike - K8LH Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    3,642
    Likes:
    109
    Location:
    Michigan, USA
    I experienced the same problem recently for my SIRC RGB Accent Light Controller. I noticed that I would decode three or four SIRC commands with a single press but I only wanted to process one of them. On the other hand I also wanted to be able to press and hold a key on the Sony remote for "repeat" operation. I ended up implementing a 205-msec timer and I would ignore any decoded commands that I received before 205-msecs had elapsed.

    Regards, Mike
     

Share This Page