Shop OBEX P1 Docs P2 Docs Learn Events
freqin — Parallax Forums

freqin

1str1ker11str1ker1 Posts: 1
edited 2011-01-01 08:49 in BASIC Stamp
I'm somewhat new to pbasic and I was wondering if there is a frequency in command


for example: if one wants something to happen only if the ir detectors receive a certain frequency

Comments

  • ercoerco Posts: 20,256
    edited 2011-01-01 08:49
    It's up to the IR receiver module to filter out everything but the 38 kHz carrier signal. Then the stamp can decode the modulated signal in several ways. One is to COUNT how many pulses come in during a certain period (sort of a freakin' freqin), another is to use the Parallax READIR routine to decode a Sony TV protocol IR signal.
Sign In or Register to comment.