Clarify gpio example.
This commit is contained in:
parent
acc324c63c
commit
e6b9421d36
|
@ -1,4 +1,8 @@
|
|||
-- $NetBSD: gpio.lua,v 1.3 2014/07/19 18:38:34 lneto Exp $
|
||||
-- $NetBSD: gpio.lua,v 1.4 2017/05/10 07:51:07 mbalmer Exp $
|
||||
|
||||
-- This example works only if all pins, starting from pin 0 up to the
|
||||
-- number returned by gpio.info() are, readable. It does _not_ work if
|
||||
-- only part of the pins are configured.
|
||||
|
||||
local gpio = require 'gpio'
|
||||
|
||||
|
|
Loading…
Reference in New Issue