Searched defs:volts (Results 1 - 8 of 8) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dgroveslide.cxx42 float volts = slide->voltage_value(); // Read voltage, board reference set at 5.0V local
43 fprintf(stdout, "%4d = %.2f V\n", (uint16_t)adc_value, volts);
H A Dgp2y0a.cxx54 upm::GP2Y0A *volts = new upm::GP2Y0A(1); local
57 // the measured voltage will probably not exceed 3.3 volts.
63 << volts->value(GP2Y0A_AREF, SAMPLES_PER_QUERY) << endl;
71 delete volts;
H A Dguvas12d.cxx54 upm::GUVAS12D *volts = new upm::GUVAS12D(0); local
62 << volts->value(GUVAS12D_AREF, SAMPLES_PER_QUERY) << endl;
70 delete volts;
/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Dgroveslide.py34 volts = slider.voltage_value() variable
36 print "Slider value: ", raw , " = %.2f" % volts , " V"
/hardware/bsp/intel/peripheral/libupm/src/gp2y0a/
H A Dgp2y0a.cxx64 float volts = float(val) * aref / float(m_aRes); local
66 return volts;
/hardware/bsp/intel/peripheral/libupm/src/guvas12d/
H A Dguvas12d.cxx62 float volts = (float)sum * aref / 1024.0; local
64 return volts;
/hardware/bsp/intel/peripheral/libupm/src/maxsonarez/
H A Dmaxsonarez.cxx58 float volts = float(val) * (m_aref / m_aRes); local
60 return int(volts / m_vI);
/hardware/bsp/intel/peripheral/libupm/src/mg811/
H A Dmg811.cxx49 // volts) for your environment at the specified concentrations. Use
59 float MG811::volts() function in class:MG811
74 return (volts() / dcGain);
82 float val = volts();

Completed in 514 milliseconds