This should help? http://www.espruino.com/InlineC#direct-access
That only uses Uint8Array but it's as easy as swapping to Int16Array and then using short* in C
© Espruino, powered by microcosm.
Report a problem