From 0fd2ff9f9aca1f30d6b4620f90802223cc221fe0 Mon Sep 17 00:00:00 2001 From: GuoWenxue <“guowenxue@gmail.com”> Date: Fri, 22 Apr 2022 09:17:24 +0800 Subject: [PATCH] update socket.c for listen socket --- 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