1
0
Fork 0

Update app.js

master
weeurey 2021-11-20 17:10:31 +00:00 committed by GitHub
parent cfdb944395
commit 0cf4c5d70a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ var locale = require("locale");
var marginTop = 25;
var flag = false;
var storage = require('Storage');
const settings = storage.readJSON('setting.json',1) || { HID: false };
@ -73,6 +74,8 @@ if (next) {
next(() => {});
} else if(lastx==0 && lasty==0){
writeLine('play/pause', 3);
Bluetooth.println(JSON.stringify({t: "music", n: next}));
//setTimeout(drawApp, 1000);
toggle(() => {});
}