clean up test route
This commit is contained in:
parent
73a66e3cef
commit
db6589b634
1 changed files with 0 additions and 2 deletions
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
Reference in a new issue