diff --git a/pixl.js b/pixl.js index a6562dd..fa11aa9 100644 --- a/pixl.js +++ b/pixl.js @@ -14,7 +14,7 @@ function scanForDevices() { g.setFont("HaxorNarrow7x17"); var arr = dev.serviceData.feaa; var str = String.fromCharCode(arr[2],arr[3],arr[4],arr[5],arr[6],arr[7],arr[8],arr[9],arr[10],arr[11],arr[12],arr[13],arr[14],arr[15],arr[16],arr[17]); - g.drawString(str,25,idx*20+1); + g.drawString(str,30,idx*20+1); idx++; } }); @@ -28,8 +28,8 @@ function scanForDevices() { LED1.set(); g.flip(); } - }, 1900); // scan for 1 sec + }, 1400); // scan for 1 sec } -setInterval(scanForDevices, 2000); +setInterval(scanForDevices, 1500); scanForDevices(); \ No newline at end of file