|
upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|

Go to the source code of this file.
Data Structures | |
| struct | _led_context |
Functions | |
| led_context | led_init (int pin) |
| led_context | led_init_str (const char *name) |
| void | led_close (led_context dev) |
| upm_result_t | led_on (led_context dev) |
| upm_result_t | led_off (led_context dev) |
Typedefs | |
| typedef struct _led_context * | led_context |
| led_context led_init | ( | int | pin | ) |
LED Initialization function
| pin | GPIO pin to use |

| led_context led_init_str | ( | const char * | name | ) |
LED Initialization function
| name | Linux gpioled device to use |

| void led_close | ( | led_context | dev | ) |
LED Initialization function
| The | sensor context |

| upm_result_t led_on | ( | led_context | dev | ) |
Function to turn LED on
| The | sensor context |

| upm_result_t led_off | ( | led_context | dev | ) |
Function to turn LED off
| The | sensor context |

| typedef struct _led_context * led_context |
device context
1.8.11