Actually, I should add, that example stores the data as a string - and to get the maximum data in there you want in binary.
So instead of:
saveData(getTime()+","+E.getTemperature()+"\n");
you probably want:
saveData((new Uint16Array([acc.x, acc.y, acc.z])).buffer);
@Gordon started
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.
Actually, I should add, that example stores the data as a string - and to get the maximum data in there you want in binary.
So instead of:
you probably want: