Searched refs:slide (Results 1 – 2 of 2) sorted by relevance
36 …upm::GroveSlide* slide = new upm::GroveSlide(0); // Instantiate new grove slide potentiometer o… in main() local38 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()
38 upm_grove.GroveSlide slide = new upm_grove.GroveSlide(0); in main() local41 float raw_value = slide.raw_value(); in main()42 float value = slide.voltage_value(); in main()