mraa
2.0.0
Low Level Skeleton Library for Communication on GNU/Linux platforms
|
This file defines the LED interface for libmraa
Public Member Functions | |
synchronized void | delete () |
Led (int led) | |
Led (String led_dev) | |
Result | setBrightness (int value) |
int | readBrightness () |
int | readMaxBrightness () |
Result | trigger (String trigger) |
Result | clearTrigger () |
Led | ( | int | led | ) |
Instantiates an LED object
led | LED index to use |
Led | ( | String | led_dev | ) |
Instantiates an LED object
led | LED index to use |
int readBrightness | ( | ) |
Read LED brightness value
int readMaxBrightness | ( | ) |
Read LED maximum brightness value
Result setBrightness | ( | int | value | ) |
Result trigger | ( | String | trigger | ) |