mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
// Vector fonts
|
|
var LCD = Graphics.createArrayBuffer(8,8,8);
|
|
LCD.setFontVector(8);
|
|
LCD.drawString("X",0,0);
|
|
//print(LCD.buffer);
|
|
|
|
// don't care what it looks like - just that it works
|
|
result = 0
|
|
for (i=0;i<LCD.buffer.length;i++)
|
|
if (LCD.buffer[i]!=0) result=1;
|
|
|