Home
last modified time | relevance | path

Searched refs:adc_value (Results 1 – 4 of 4) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/examples/
Danalogin_a0.c33 uint16_t adc_value = 0; in main() local
42 adc_value = mraa_aio_read(adc_a0); in main()
44 fprintf(stdout, "ADC A0 read %X - %d\n", adc_value, adc_value); in main()
/hardware/bsp/intel/peripheral/libmraa/examples/c++/
DAioA0.cpp31 uint16_t adc_value; in main() local
41 adc_value = a0->read(); in main()
43 fprintf(stdout, "ADC A0 read %X - %d\n", adc_value, adc_value); in main()
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DAioA0.java48 int adc_value = a0.read(); in main() local
50 System.out.println(String.format("ADC A0 read %X - %d", adc_value, adc_value)); in main()
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dgroveslide.cxx41 float adc_value = slide->raw_value(); // Read raw value in main() local
43 fprintf(stdout, "%4d = %.2f V\n", (uint16_t)adc_value, volts); in main()