remove debug print
parent
519262793d
commit
8ec7878ede
|
|
@ -19,6 +19,13 @@ options = {
|
||||||
};
|
};
|
||||||
// eg... show notification
|
// eg... show notification
|
||||||
require("notify").show({title:"Test", body:"Hello"});
|
require("notify").show({title:"Test", body:"Hello"});
|
||||||
|
// or display lots of text, with a phone icon
|
||||||
|
require("notify").show({
|
||||||
|
title:"Hello",
|
||||||
|
src:"Test",
|
||||||
|
body:"This is a really really really long bit of text that has to be wrapped",
|
||||||
|
icon:require("heatshrink").decompress(atob("jEYxH+ACcejwUUAAYWVjESCqoABCqoYNCpQXLCxgXJQowtTA4ZbSZiwW/C4gWWjAXVZwIuVWhxFIC6z6OLpIXSCywXYDAIWVAAYXTA=="))
|
||||||
|
});
|
||||||
// remove it (can also be removed by tapping)
|
// remove it (can also be removed by tapping)
|
||||||
require("notify").hide();
|
require("notify").hide();
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@ exports.show = function(options) {
|
||||||
body += " " + words[i];
|
body += " " + words[i];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
console.log(body);
|
|
||||||
g.setColor(-1).setFont("6x8", 1).setFontAlign(-1, -1, 0).drawString(body, x-4, y+4);
|
g.setColor(-1).setFont("6x8", 1).setFontAlign(-1, -1, 0).drawString(body, x-4, y+4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue