From fbbb2d0b2aba4ddc42651096b20dd4a7ca4a33f2 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Wed, 21 Sep 2022 23:04:57 +0800
Subject: [PATCH] Merge branch 'master' of ssh://master.iot-yun.club:2280/raspberrypi
---
modules/c/gpiod.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/c/gpiod.c b/modules/c/gpiod.c
index 3ad04bd..c59e694 100644
--- a/modules/c/gpiod.c
+++ b/modules/c/gpiod.c
@@ -40,8 +40,9 @@
if( argc != 3 )
{
printf(" Usage: sudo %s [BCM Pin number] [1/0]\n", argv[0]);
- printf("example, turn BCM Pin #6 lowlevel : sudo %s 6 0\n", argv[0]);
- printf("example, turn BCM Pin #6 highlevel: sudo %s 6 1\n", argv[0]);
+ printf("example, turn BCM Pin #19 lowlevel : sudo %s 19 0\n", argv[0]);
+ printf("example, turn BCM Pin #19 highlevel: sudo %s 19 1\n", argv[0]);
+ return 0;
}
bcm_pin = atoi(argv[1]);
--
Gitblit v1.9.1