This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode('120x120'); | |
g.clear(); | |
const Width = g.getWidth(); | |
const Height = g.getHeight(); | |
for (let Row = 0; Row < 16; Row++) { | |
let yMin = 4+Row*7, yMax = 4+(Row+1)*7-1; | |
for (let Column = 0; Column < 16; Column++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello, World! | |
<br> | |
(now a little bit faster) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Terminal.println('Hello, World!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode(); | |
g.clear(); | |
g.setFontVector(60); | |
g.drawString("Hello,",0,50); | |
g.drawString("World!",0,130); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode(); | |
g.clear(); | |
g.setFont("4x6"); | |
g.drawString("The quick brown Fox",70,100); | |
g.drawString("jumps over the lazy dog",70,120); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode(); | |
g.clear(); | |
g.setFont("6x8"); | |
g.drawString("The quick brown Fox",50,100); | |
g.drawString("jumps over the lazy dog",50,120); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode(); | |
g.clear(); | |
g.setFontVector(18); | |
g.drawString("The quick brown Fox",4,90); | |
g.drawString("jumps over the lazy dog",4,130); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode('120x120'); | |
g.clear(); | |
g.setFont("4x6"); | |
g.drawString("The quick brown Fox",15,50); | |
g.drawString("jumps over the lazy dog",15,60); | |
g.flip(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bangle.setLCDMode('80x80'); | |
g.clear(); | |
g.setFont("4x6"); | |
g.drawString("The quick brown",5,20); | |
g.drawString("Fox jumps over",5,35); | |
g.drawString("the lazy dog",5,50); | |
g.flip(); |