Commit 11654038 authored by cjandl's avatar cjandl
Browse files

Update server.js

parent 1e7077a4
......@@ -171,7 +171,7 @@ function explore(peripheral) {
pressureValues[7] = 0;
// Multiplikationsfaktor hinzufügen
for(var i = 0; i < 7; i++){
pressureValues[i] = parseInt( pressureValues[i] * pheripheralLeftFactors[i]);
pressureValues[i] = parseInt( pressureValues[i] / pheripheralLeftFactors[i]);
}
sendCarmaToOsc(pressureValues);
if (ioSocket != null) {
......
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