mirror of https://github.com/espruino/BangleApps
10 lines
336 B
JavaScript
10 lines
336 B
JavaScript
(() => {
|
|
function draw() {
|
|
var id = NRF.getAddress().substr().substr(12).split(":");
|
|
g.reset().setColor(g.theme.dark ? "#0ff" : "#00f").setFont("6x8", 1);
|
|
g.drawString(id[0], this.x+2, this.y+4, true);
|
|
g.drawString(id[1], this.x+2, this.y+14, true);
|
|
}
|
|
WIDGETS["widid"] = { area:"tr", width:16, draw: draw };
|
|
})();
|