MraaLed class
The LED MRAA API
LED is the Light Emitting Diode interface to MRAA It is used to access the on board LED's via sysfs.
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
-
clearTrigger(
MraaLedContext dev) → MraaReturnCode - Clear trigger - mraa_led_clear_trigger
-
close(
MraaLedContext dev) → MraaReturnCode - Close - mraa_led_close
-
initialise(
int led) → MraaLedContext - Initialise - mraa_led_init
-
initialiseRaw(
String ledDev) → MraaLedContext - Initialise raw - mraa_led_init_raw
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readBrightness(
MraaLedContext dev) → int - Read brightness - mraa_led_read_brightness
-
readMaxBrightness(
MraaLedContext dev) → int - Read brightness - mraa_led_read_max_brightness
-
setBrightness(
MraaLedContext dev, int value) → MraaReturnCode - Set brightness - mraa_led_set_brightness
-
setTrigger(
MraaLedContext dev, String triggerName) → MraaReturnCode - Set trigger - mraa_led_set_trigger
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited