Created
January 13, 2020 10:24
-
-
Save rozek/6e65f393028c44ae1ed204e5c78a33ab to your computer and use it in GitHub Desktop.
Bangle.js: writes the "HelWrld" App itself
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
const Storage = require('Storage'); | |
let AppName = 'HelWrld'; | |
Storage.write('-' + AppName, ` | |
Bangle.setLCDMode('80x80'); | |
g.clear(); | |
g.setFont('6x8',2); | |
g.setColor('#BFFF00'); | |
/**** draw actual icon contents ****/ | |
g.drawString('Hello,', 6,20); | |
g.drawString('World!', 6,40); | |
g.flip(); | |
`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment