Received: by mail.netbsd.org (Postfix, from userid 605) id 376E414A3D7; Sat, 25 Feb 2012 09:13:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9B79714A3D2 for ; Sat, 25 Feb 2012 09:13:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id IhrDhNrBSf-O for ; Sat, 25 Feb 2012 09:13:39 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 155EB14A3CE for ; Sat, 25 Feb 2012 09:13:39 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id F1EDF175DD; Sat, 25 Feb 2012 09:13:38 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Sat, 25 Feb 2012 09:13:38 +0000 From: "Marc Balmer" Subject: CVS commit: src/share/examples/lua To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120225091338.F1EDF175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Marc Balmer" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: mbalmer Date: Sat Feb 25 09:13:38 UTC 2012 Modified Files: src/share/examples/lua: gpio.lua Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/examples/lua/gpio.lua Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.