From db6589b634b644e1e0fa17393e717eecdf19a96d Mon Sep 17 00:00:00 2001 From: Stefan Sterz Date: Mon, 22 Feb 2016 13:22:18 +0100 Subject: [PATCH] clean up test route --- nodejs/routes/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/nodejs/routes/index.js b/nodejs/routes/index.js index 93afd2e..15ca046 100644 --- a/nodejs/routes/index.js +++ b/nodejs/routes/index.js @@ -28,8 +28,6 @@ router.post('/register', function (req, res, next){ router.get('/irTest', function (req, res) { arduino.write(new Buffer('X0' + String.fromCharCode(4) + String.fromCharCode(12) + String.fromCharCode(0)+String.fromCharCode(0)+String.fromCharCode(2689 / 256) + String.fromCharCode(2689 % 256),'ascii')); - arduino.write(new Buffer('Uo000000'), 'ascii'); - arduino.write(new Buffer('Up000000'), 'ascii'); res.send('switch light'); });