Great! Now you need to try:
var g = Graphics.createArrayBuffer(8,7,1); g.drawLine(0,0,7,7); Serial1.write([0x80,0x87,0xFF],g.buffer,[0x8F]);
You can even use stuff like g.drawString("Hello",x,y), and you can change rotation with g.setRotation(1) (2, or 3).
g.drawString("Hello",x,y)
g.setRotation(1)
(I made the graphics 8px x 7px so that each row/column aligns properly)
@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.
Great! Now you need to try:
You can even use stuff like
g.drawString("Hello",x,y)
, and you can change rotation withg.setRotation(1)
(2, or 3).(I made the graphics 8px x 7px so that each row/column aligns properly)