diff --git a/Infrared/Pronto_IR/Pronto_IR.zip b/Infrared/Pronto_IR/Pronto_IR.zip new file mode 100644 index 00000000..44f677b2 Binary files /dev/null and b/Infrared/Pronto_IR/Pronto_IR.zip differ diff --git a/Infrared/Pronto_IR/ir_convert.js b/Infrared/Pronto_IR/ir_convert.js new file mode 100644 index 00000000..5f1fb685 --- /dev/null +++ b/Infrared/Pronto_IR/ir_convert.js @@ -0,0 +1,24 @@ +//usage: node irconvert.js +//steps from https://stackoverflow.com/a/27323452 +//sourced from https://gist.github.com/XMB5/a877ab620d812260f2da8380aac050d3 + +numbers=process.argv[2].split(' ').map(x=>parseInt(x,16)) +fullSequenceConverted=[] + +carrierFrequency = 1000000/(numbers[1] * .241246) +codeLength = numbers[2] +repeatCodeLength = numbers[3] + +for(i=4;i