guowenxue
2023-07-10 c13c9806f957ebc675462737f4b328d3ab89e028
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;