Capturing multiple IR Codes #927
Unanswered
espruino-discuss2
asked this question in
Interfacing
Replies: 1 comment
-
Posted at 2017-03-16 by @gfwilliams Sure, probably the easiest way is to just store the times in a second array. Try something like this:
That'll stick everything in It's worth checking though - most IR remotes just repeat the same pattern over and over (rather than different ones) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2017-03-16 by navas
hi everyone,
Does any know how to capture multiple IR codes through an IR receiver at the same time? My remote seems to send multiple codes on a single press. How do you capture them on times?
This example is good to capture events one code at a time. I can print them to console using
console.log(times.toString());
but the problem is it is always printing the last one received.
Thanks
Navas
Beta Was this translation helpful? Give feedback.
All reactions