• Looks like it'd be easy to port the arduino library code, just looking at the code.

    One nice thing with C and JS is, you can copy/paste most C (particularly arduino C which doesn't do much weird stuff ) into something that does JS syntax highlighting, and the basic structure will be valid JS - you just have to change the variable declarations, and rewrite the parts that are different between arduino and espruino (like SPI, which is way clunkier to use on arduino)

    Though, often there is room for improvement after this.

About

Avatar for DrAzzy @DrAzzy started