Couple of the values coming back are suspect but I need to go through each function and check each one to ensure it's doing the right thing. I suspect it is just some rounding issues or other gotchas going from C to JS.
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.
OK, it's all working, sort of...
Couple of the values coming back are suspect but I need to go through each function and check each one to ensure it's doing the right thing. I suspect it is just some rounding issues or other gotchas going from C to JS.
Some output from my test rig:
Current test prog is here
Current module code is here
More when I've had time to work the functions and improve the code a bit. But still happy for anyone to chip in with improvement ideas.
Cheers
Ian