|
myMPD
Internal API documentation
|
Lua interface for myGPIOd. More...
#include "compile_time.h"#include "src/scripts/interface_mygpio.h"#include "src/lib/log.h"#include <libmygpio/libmygpio.h>
Functions | |
| static struct t_mygpio_connection * | mygpio_connect (const char *mygpiod_socket) |
| int | lua_mygpio_gpio_blink (lua_State *lua_vm) |
| int | lua_mygpio_gpio_get (lua_State *lua_vm) |
| int | lua_mygpio_gpio_set (lua_State *lua_vm) |
| int | lua_mygpio_gpio_toggle (lua_State *lua_vm) |
Lua interface for myGPIOd.
| int lua_mygpio_gpio_blink | ( | lua_State * | lua_vm | ) |
Lua binding for mygpio_gpioblink
| lua_vm | lua instance |
| int lua_mygpio_gpio_get | ( | lua_State * | lua_vm | ) |
Lua binding for mygpio_gpioget
| lua_vm | lua instance |
| int lua_mygpio_gpio_set | ( | lua_State * | lua_vm | ) |
Lua binding for mygpio_gpioset
| lua_vm | lua instance |
| int lua_mygpio_gpio_toggle | ( | lua_State * | lua_vm | ) |
Lua binding for mygpio_gpiotoggle
| lua_vm | lua instance |
|
static |
Connects to the myGPIOd socket /run/mygpiod/socket
| mygpiod_socket | path of the myGPIOd socket |