Home
last modified time | relevance | path

Searched refs:volts (Results 1 – 11 of 11) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dguvas12d.cxx54 upm::GUVAS12D *volts = new upm::GUVAS12D(0); in main() local
62 << volts->value(GUVAS12D_AREF, SAMPLES_PER_QUERY) << endl; in main()
70 delete volts; in main()
Dgp2y0a.cxx54 upm::GP2Y0A *volts = new upm::GP2Y0A(1); in main() local
63 << volts->value(GP2Y0A_AREF, SAMPLES_PER_QUERY) << endl; in main()
71 delete volts; in main()
Dgroveslide.cxx42 float volts = slide->voltage_value(); // Read voltage, board reference set at 5.0V in main() local
43 fprintf(stdout, "%4d = %.2f V\n", (uint16_t)adc_value, volts); in main()
/hardware/bsp/intel/peripheral/libupm/src/mg811/
Dmg811.cxx59 float MG811::volts() in volts() function in MG811
74 return (volts() / dcGain); in getReferenceVoltage()
82 float val = volts(); in ppm()
Dmg811.h109 float volts();
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgroveslide.py34 volts = slider.voltage_value() variable
36 print "Slider value: ", raw , " = %.2f" % volts , " V"
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroveslide.js35 var volts = groveSlide.voltage_value();
38 console.log("Slider Value: " + raw + " = " + volts.toFixed(2) + " V");
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGUVAS12DSample.java42 upm_guvas12d.GUVAS12D volts = new upm_guvas12d.GUVAS12D(3); in main() local
45 float value = volts.value(GUVAS12D_AREF, SAMPLES_PER_QUERY); in main()
/hardware/bsp/intel/peripheral/libupm/src/maxsonarez/
Dmaxsonarez.cxx58 float volts = float(val) * (m_aref / m_aRes); in inches() local
60 return int(volts / m_vI); in inches()
/hardware/bsp/intel/peripheral/libupm/src/guvas12d/
Dguvas12d.cxx62 float volts = (float)sum * aref / 1024.0; in value() local
64 return volts; in value()
/hardware/bsp/intel/peripheral/libupm/src/gp2y0a/
Dgp2y0a.cxx64 float volts = float(val) * aref / float(m_aRes); in value() local
66 return volts; in value()