Ahh, thanks for the info....
>g ={ "setPixel":function (x,y,c) { ... }, "fillRect":function (x1,y1,x2,y2,c) { ... } }
So fillRect gets automatically defined in Graphics, and it overloads the built-in fillRect function :( I'll fix that for 1v56.
@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.
Ahh, thanks for the info....
So fillRect gets automatically defined in Graphics, and it overloads the built-in fillRect function :( I'll fix that for 1v56.