@allObjects yes, I'd considered some kind of pattern matching for RF stuff - but then I thought I'd just be implementing yet another language interpreter - albeit for a very basic language :)
It's why you can now execute assembler code directly from a setWatch interrupt - so you can actually write whatever decoder you want in assembler. Until I manage to get compiled JS working in interrupts that's still quite painful to do though.
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.
@allObjects yes, I'd considered some kind of pattern matching for RF stuff - but then I thought I'd just be implementing yet another language interpreter - albeit for a very basic language :)
It's why you can now execute assembler code directly from a
setWatch
interrupt - so you can actually write whatever decoder you want in assembler. Until I manage to get compiled JS working in interrupts that's still quite painful to do though.