From 5bf0e2a6ad2ea846fa4452f50493ace15c706259 Mon Sep 17 00:00:00 2001 From: raluca-elena Date: Mon, 11 Aug 2014 23:04:17 -0700 Subject: [PATCH] try buzzer freq --- slave/buzzerServer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/slave/buzzerServer.js b/slave/buzzerServer.js index b53dafc..8a1d74a 100644 --- a/slave/buzzerServer.js +++ b/slave/buzzerServer.js @@ -35,9 +35,9 @@ function sleep(millis, callback) { , millis); } function buzzerOff(){ - //gpio.write(pin, 0, function(err, value) { - // if(err) throw err; - //}) + gpio.write(pin, 0, function(err, value) { + if(err) throw err; + }) gpio.close(pin); } function buzzerOn(){