Looks really nice! There's no 'padding' in drawString - I'm pretty sure it puts each character one after the other. I guess you have 2 options:
drawString
Override drawString - you should be able to do something like:
g._ds = g.drawString; g.drawString = function(s,x,y) { s=s.toString(); for (var i=0;i<s.length;i++) g._ds(s[i],x+i*10,y); }
@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.
Looks really nice! There's no 'padding' in
drawString
- I'm pretty sure it puts each character one after the other. I guess you have 2 options:Override drawString - you should be able to do something like: