From 5e9d03d507aad324a803eb8795e0eed6fb671761 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Mon, 10 Jul 2023 15:24:52 +0800 Subject: [PATCH] Merge branch 'master' of http://master.iot-yun.club:8088/r/raspberrypi --- modules/c/led.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/c/led.c b/modules/c/led.c index 3097381..fba63b6 100644 --- a/modules/c/led.c +++ b/modules/c/led.c @@ -7,11 +7,11 @@ * * pi@raspberrypi:~ $ gpio readall #show RPi pin map * - * LED #PIN BCM - * I ---- 39 ---- GND - * G ---- 37 ---- 26 - * R ---- 35 ---- 19 - * B ---- 33 ---- 13 + * LED #PIN BCM + * I ---- 39 ---- GND + * G ---- 37 ---- GPIO26 + * R ---- 35 ---- GPIO19 + * B ---- 33 ---- GPIO13 * * Version: 1.0.0(2012/11/03) * Author: Guo Wenxue <guowenxue@gmail.com> @@ -71,7 +71,7 @@ } -#if 1 /* Use libgpiod lowlevel API */ +#if 0 /* Use libgpiod lowlevel API */ struct gpiod_chip* chip; -- Gitblit v1.9.1