1
0
Fork 0

change colors and interval time

master
v1nc 2020-05-07 19:38:34 +02:00
parent 6e412abba0
commit dbf57058d0
1 changed files with 3 additions and 3 deletions

View File

@ -7,16 +7,16 @@ function remind() {
}
function print_message(){
g.setColor(0xF800);
g.clear();
g.setColor(0x03E0);
g.drawString("sitting is dangerous!", g.getWidth()/2, g.getHeight()/2);
}
//init graphics
g.clear();
require("Font8x12").add(Graphics);
g.setFont("8x12",2);
g.setFontAlign(0,0);
g.flip();
print_message();
setInterval(remind,60000);
setInterval(remind,1200000);