Home
last modified time | relevance | path

Searched refs:slide (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgroveslide.cxx36 …upm::GroveSlide* slide = new upm::GroveSlide(0); // Instantiate new grove slide potentiometer o… in main() local
38 cout << slide->name() << endl; in main()
41 float adc_value = slide->raw_value(); // Read raw value in main()
42 float volts = slide->voltage_value(); // Read voltage, board reference set at 5.0V in main()
48 delete slide; in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DGroveSlideSample.java38 upm_grove.GroveSlide slide = new upm_grove.GroveSlide(0); in main() local
41 float raw_value = slide.raw_value(); in main()
42 float value = slide.voltage_value(); in main()