version 1.3, 2014/01/06 09:25:08 |
version 1.4, 2014/01/07 21:54:17 |
|
|
.\" $NetBSD$ |
.\" $NetBSD$ |
.\" |
.\" |
.\" Copyright (c) 2013 Marc Balmer <mbalmer@NetBSD.org>. All rights reserved. |
.\" Copyright (c) 2013, 2014 Marc Balmer <mbalmer@NetBSD.org>. |
|
.\" All rights reserved. |
.\" |
.\" |
.\" Redistribution and use in source and binary forms, with or without |
.\" Redistribution and use in source and binary forms, with or without |
.\" modification, are permitted provided that the following conditions |
.\" modification, are permitted provided that the following conditions |
|
|
.\" SUCH DAMAGE. |
.\" SUCH DAMAGE. |
.\" |
.\" |
.\" |
.\" |
.Dd October 27, 2013 |
.Dd Januar 7, 2014 |
.Dt GPIO 3lua |
.Dt GPIO 3lua |
.Os |
.Os |
.Sh NAME |
.Sh NAME |
|
|
.Xr gpio 4 |
.Xr gpio 4 |
pins from Lua |
pins from Lua |
.Sh SYNOPSIS |
.Sh SYNOPSIS |
.Cd "require 'gpio'" |
.Cd "local gpio = require 'gpio'" |
.Pp |
.Pp |
.Bl -tag -width XXXX -compact |
.Bl -tag -width XXXX -compact |
.It Dv gpiodev = gpio.open(path) |
.It Dv gpiodev = gpio.open(path) |