History log of /netbsd-src/share/examples/lua/gpio.lua (Results 1 – 4 of 4)
Revision Date Author Comments
# e6b9421d 10-May-2017 mbalmer <mbalmer@NetBSD.org>

Clarify gpio example.


# 4ab4902e 19-Jul-2014 lneto <lneto@NetBSD.org>

lua: updated from 5.1 to 5.3 work3

* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibiliz

lua: updated from 5.1 to 5.3 work3

* lua(1):
- changed lua_Integer to intmax_t
- updated distrib/sets/lists and etc/mtree
- updated bsd.lua.mk
- fixed bozohttpd (lua-bozo.c)
- compatibilized bindings: gpio, sqlite
* lua(4):
- removed floating-point and libc dependencies using '#ifndef _KERNEL'
- fixed division by zero and exponentiation
- libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
- acpica: removed isprint() from acnetbsd.h
- libc: moved strcspn.c, strpbrk.c and strspn.c to common
- removed stub headers
- compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE

show more ...


# ae1a4436 25-Feb-2012 mbalmer <mbalmer@NetBSD.org>

GPIO pins are 0 based when accessed from Lua, not 1 based like Lua usually
is. The pulse() has been removed, use gpiopwm(4) for that.


# 250c0b9d 15-Oct-2011 mbalmer <mbalmer@NetBSD.org>

Example files showing Lua module usage.