From dfdf5ade2f9e1d1cf992b5b9abadc0873d42f029 Mon Sep 17 00:00:00 2001 From: Nikita Romanenko Date: Thu, 14 Dec 2017 00:25:41 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D0=BE=D1=82=D0=BA=D0=BE?= =?UTF-8?q?=D0=B5=20=D0=BE=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5=20=D0=B2=D0=B8=D0=B7=D1=83=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE?= =?UTF-8?q?=D0=B3=D0=BE=20html=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- html/acc.html | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/html/acc.html b/html/acc.html index 509432b..482e394 100644 --- a/html/acc.html +++ b/html/acc.html @@ -61,10 +61,20 @@ }; + + function calibrateDevice() { + var calibrating = 5; + socket.send(JSON.stringify(calibrating)); + document.getElementById("calibrate_text").innerHTML = "Калибровка в течении 10 секунд - Сделайте несколько оборотов устройством перпендикулярно оси Х"; + } + context.font = "50px Arial"; context.fillText("24", 320, 170); +

Устройство не откалибровано.

+ +