read method

int read(
  1. MraaAioContext dev
)

Read - mraa_aio_read

Read the input voltage. By default MRAA will shift the raw value up or down to a 10 bit value. Returns the current input voltage or Mraa.aioReadError for error

Implementation

int read(MraaAioContext dev) => _impl.mraa_aio_read(dev);