Skip to content
Snippets Groups Projects
Commit c4c368dd authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

read write

parent a2d7acb6
Branches
No related tags found
No related merge requests found
......@@ -50,7 +50,8 @@ io.on('connection', function(socket){
});
socket.on('dataOut', function(data){
console.log(data);
console.log("Sending data: " + data);
currentPort.write(new Buffer([parseInt(data)]));
});
socket.on('flush', function(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment