Skip to content

Commit

Permalink
i2c active
Browse files Browse the repository at this point in the history
  • Loading branch information
mand authored and mand committed Nov 1, 2014
1 parent 895a435 commit 80766e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routes/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ exports.i2c = function(req, res){
exports.i2cSet = function(req, res){
console.log("Put value: "+req.params.value);
console.log("Channel: "+req.params.channel);
/*req.sanitize('channel').toInt();
req.sanitize('channel').toInt();
req.sanitize('value').toInt();
i2c.setValue(req.params.channel, req.params.value, function(){
res.json({ message: 'OK' });
});//*/
});
};

0 comments on commit 80766e5

Please sign in to comment.