MraaAio class

The AIO MRAA API

AIO is the analogue input & output interface to MRAA It is used to read or set the voltage applied to an AIO pin.

Constructors

MraaAio(MraaImpl _impl, bool _noJsonLoading, bool _useGrovePi)
Construction

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close(MraaAioContext dev) MraaReturnCode
Close - mraa_aio_close
getBit(MraaAioContext dev) int
Set bit - mraa_aio_get_bit
initialise(int pin) MraaAioContext
Initialise - mraa_aio_init
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(MraaAioContext dev) int
Read - mraa_aio_read
readDouble(MraaAioContext dev) double
Read - mraa_aio_read_float
setBit(MraaAioContext dev, int bits) MraaReturnCode
Set bit - mraa_aio_set_bit
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited