Searched refs:volts (Results 1 – 11 of 11) sorted by relevance
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | guvas12d.cxx | 54 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()
|
D | gp2y0a.cxx | 54 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()
|
D | groveslide.cxx | 42 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/ |
D | mg811.cxx | 59 float MG811::volts() in volts() function in MG811 74 return (volts() / dcGain); in getReferenceVoltage() 82 float val = volts(); in ppm()
|
D | mg811.h | 109 float volts();
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | groveslide.py | 34 volts = slider.voltage_value() variable 36 print "Slider value: ", raw , " = %.2f" % volts , " V"
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | groveslide.js | 35 var volts = groveSlide.voltage_value(); 38 console.log("Slider Value: " + raw + " = " + volts.toFixed(2) + " V");
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | GUVAS12DSample.java | 42 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/ |
D | maxsonarez.cxx | 58 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/ |
D | guvas12d.cxx | 62 float volts = (float)sum * aref / 1024.0; in value() local 64 return volts; in value()
|
/hardware/bsp/intel/peripheral/libupm/src/gp2y0a/ |
D | gp2y0a.cxx | 64 float volts = float(val) * aref / float(m_aRes); in value() local 66 return volts; in value()
|