Searched refs:roundNum (Results 1 – 8 of 8) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | joystick12.js | 36 var XString = "Driving X:" + roundNum(myJoystick.getXInput(), 6); 37 var YString = ": and Y:" + roundNum(myJoystick.getYInput(), 6); 41 function roundNum(num, decimalPlaces) function
|
D | otp538u.js | 42 roundNum(tempIRSensor_obj.ambientTemperature(), 2) + 44 roundNum(tempIRSensor_obj.objectTemperature(), 2) + 51 function roundNum(num, decimalPlaces) function
|
D | h3lis331dl.js | 61 + roundNum(digitalAccelerometer.floatp_value(ax), 6) 62 + " AY = " + roundNum(digitalAccelerometer.floatp_value(ay), 6) 63 + " AZ = " + roundNum(digitalAccelerometer.floatp_value(az), 6); 68 function roundNum(num, decimalPlaces) function
|
D | mma7660.js | 66 + roundNum(digitalAccelerometer.floatp_value(ax), 6) 67 + "g y = " + roundNum(digitalAccelerometer.floatp_value(ay), 6) 68 + "g z = " + roundNum(digitalAccelerometer.floatp_value(az), 6) + "g"; 73 function roundNum(num, decimalPlaces) function
|
D | guvas12d.js | 41 + roundNum(myUVSensor.value(g_GUVAS12D_AREF, g_SAMPLES_PER_QUERY), 6); 45 function roundNum(num, decimalPlaces) function
|
D | groveo2.js | 34 console.log("The output voltage is: " + roundNum(groveO2_obj.voltageValue(), 5) + "mV"); 37 function roundNum(num, decimalPlaces) function
|
D | ina132.js | 34 console.log(roundNum(differential_amplifier_obj.value(), 5)); 37 function roundNum(num, decimalPlaces) function
|
D | enc03r.js | 50 roundNum(myGyro.angularVelocity(gyroVal), 5) + " deg/s"; 54 function roundNum(num, decimalPlaces) function
|