MRAA

MRAA is a low level skeleton library for communication on GNU/Linux platforms. See examples here.

Iio Class

Module: mraa

This file defines the C++ iio interface for libmraa

Methods

Iio

(
  • device
)
Number

Iio Constructor, takes a device number which will map directly to sysfs e.g. device 0 maps to /sys/bus/iio/devices/iio:device0

Parameters:

  • device Number

    IIO device number

Returns:

Number:

getDeviceName

() String

Get device name

Returns:

String:

The device name

registerEventHandler

(
  • handler
)

Register event handler.

Parameters:

  • handler IioHandler

    handler class that implements IioHandler