发布时间:2014-12-05 13:42:56
Network support for the Lua languagehome · download · installation · introduction · referenceReferenceDNS (in socket)toip, tohostname, gethostn.........【阅读全文】
发布时间:2014-12-04 09:02:04
1. Shell中实现, 比如对GPIO 26的操作echo 26 > /sys/class/gpio/exportecho out > /sys/class/gpio/gpio26/directionecho in > /sys/class/gpio/gpio26/directionecho 1 > /sys/class/gpio/gpio26/valuecat /sys/class/gpio/gpio26/value2. LUA中的操作可以直接引用 Ewelina, Rafa, Rafa写的例程gpio.lua.........【阅读全文】
发布时间:2014-12-03 14:37:55
1. 官方参考 http://wiki.openwrt.org/doc/devel/config-scriptingLoadingTo be able to load UCI configuration files, you need to include the common functions with:. /lib/functions.shThen you can use config_load name to load c.........【阅读全文】