Commit 948bd427 authored by Karan Goel's avatar Karan Goel
Browse files

randomize data from server for now

parent e66e5a0b
...@@ -14,9 +14,8 @@ app.use(express.static(__dirname + '/public')); ...@@ -14,9 +14,8 @@ app.use(express.static(__dirname + '/public'));
function sendEEGData() { function sendEEGData() {
console.log('sending data');
io.sockets.emit('data', { io.sockets.emit('data', {
'eegPower': { 'beta': 1000 } 'eegPower': { 'beta': 1000 * Math.random() + 1000 }
}); });
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment