Attached is a start on the translation of the Adafruit C code.
Since I don't have the chip it is untested.
It should give you an idea of what is involved.
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.
Attached is a start on the translation of the Adafruit C code.
Since I don't have the chip it is untested.
It should give you an idea of what is involved.
1 Attachment