Yes, g is just built-in. I was going to have 'Pixl.getGraphics()' or something, but then I wanted people to be able to connect and start using it immediately without much typing, so I kept g as that's what pretty much all the graphics examples do anyway.
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.
Yes,
g
is just built-in. I was going to have 'Pixl.getGraphics()' or something, but then I wanted people to be able to connect and start using it immediately without much typing, so I keptg
as that's what pretty much all the graphics examples do anyway.I'll add a section on it to the Pixl reference at http://www.espruino.com/Pixl.js in the next few hours.