Or you could just run this code in a browser window on your PC:
function fromPronto(d) {
var a=d.trim().split(" ").map(x=>parseInt(x,16));
var freq = 4145146/a[1];
console.log(a.slice(4).map(x=>(1000*x/freq).toFixed(1)).toString());
}
and it'll give you the numbers you need to put into Puck.IR
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Just post up if you have any questions.
I haven't had a chance to try this out, but if you upload this function to the Puck:
Then you should be able to use 'Pronto Hex' codes. For instance for the LG power button.
You could use the codes off of http://irdb.tk/find/ and could do:
Or you could just run this code in a browser window on your PC:
and it'll give you the numbers you need to put into
Puck.IR