diff --git a/nodejs/public/javascripts/angularApp.js b/nodejs/public/javascripts/angularApp.js index fa737b2..88366f0 100644 --- a/nodejs/public/javascripts/angularApp.js +++ b/nodejs/public/javascripts/angularApp.js @@ -38,7 +38,7 @@ app.controller('MainCtrl', ['$scope', 'arduino', function ($scope, arduino){ $scope.irTest = function(){ - arduino.toggleLight(); + arduino.irTest(); };