I think we're probably misunderstanding each other...
These modules will be (and are) written as JavaScript, so when I say write(data) I don't mean write(char *data) (which is obviously bad news) I mean write(new String()) - which contains the length of the string alongside the actual data.
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.
I think we're probably misunderstanding each other...
These modules will be (and are) written as JavaScript, so when I say
write(data)
I don't meanwrite(char *data)
(which is obviously bad news) I meanwrite(new String())
- which contains the length of the string alongside the actual data.