[−][src]Function mraa_sys::mraa_aio_read
pub unsafe extern "C" fn mraa_aio_read(dev: mraa_aio_context) -> c_int
Read the input voltage. By default mraa will shift the raw value up or down to a 10 bit value.
@param dev The AIO context @returns The current input voltage or -1 for error