Puck.js RELEASE_2V29 cant send IR #7981
|
I've again (#7774) a problem with sending IR signals to my television. const powerSamsung = [4.5,4.5,0.5,1.7,0.6,1.6,0.6,1.7,0.6,0.5,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.6,0.5,1.7,0.6,1.7,0.6,1.7,0.6,0.5,0.6,0.5,0.5,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.6,1.7,0.6,0.5,0.5,0.6,0.5,0.6,0.6,0.5,0.5,0.5,0.6,0.5,0.6,1.7,0.6,0.5,0.6,1.7,0.5,1.7,0.6,1.6,0.6,1.7,0.6,1.7,0.6,1.7,0.5,47.1,4.5,4.5,0.5,1.7,0.6,1.7,0.6,1.7,0.6,0.5,0.5,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.6,1.7,0.5,1.7,0.5,1.7,0.6,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.5,0.6,0.5,0.6,0.5,1.7,0.5,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.6,0.5,0.5,0.6,0.5,1.7,0.5,0.6,0.5,1.7,0.6,1.6,0.6,1.7,0.6,1.7,0.5,1.7,0.6,1.7,0.6];
Puck.IR(powerSamsung);this is working with a V28 Puck, but not with a V29 Puck (minimal / normal). I upgraded the working V28 to V29 and it immediately stops working, after downgrading to V28 its works again. I think it must be a similar problem as in #7774, when i take my smartphone camera for watching the IR leds the V29 is just blinking once, the V28 is blinking ~3 times. Another strange thing I discovered while testing, i can shut my TV off, but not on. |
Replies: 3 comments 1 reply
|
I've done a little more testing: |
|
Sorry about this - we overhauled the way timers work in the 2v29 release and this might have caused some kind of problem. It probably wasn't that noticeable as the first few pulses come out ok and that's all I tended to check. I'll look into it now and try and get a fix in. |
|
Thank you again for you quick response and solution. Its working on 2v29.92 |
I've just fixed it - so the latest 'cutting edge' build (or 2v30 when it's released) will be working again.
Sorry for the inconvenience - the changes on timers were pretty large but they made things much more efficient and also enabled some pretty neat new functionality (the
require("timer")library and the ability to set JS code to run on a timer and actually interrupt other JS code)