From 02294c1c430ab80bd4543af28f867c5c2927e5c1 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 25 Jun 2019 13:58:27 +0800 Subject: [PATCH] update mqttd main.c, add mosquitto publisher and subscriber --- modules/c/led.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/c/led.h b/modules/c/led.h index 8e3b4fa..dfc411c 100644 --- a/modules/c/led.h +++ b/modules/c/led.h @@ -8,9 +8,9 @@ * pi@raspberrypi:~ $ gpio readall show BCM and wPi pinmap * * LED BCM wPi - * B ---- GPIO.13 ---- GPIO.23 + * G ---- GPIO.13 ---- GPIO.23 * R ---- GPIO.19 ---- GPIO.24 - * G ---- GPIO.26 ---- GPIO.25 + * B ---- GPIO.26 ---- GPIO.25 * I ---- GND ---- * * Version: 1.0.0(2018/10/14) @@ -37,7 +37,7 @@ /* 3 LEDs WiringPi GPIO port */ /* LED_R LED_G LED_B */ -static int led_gpio[LED_MAX]= { 24, 25, 23 }; +static int led_gpio[LED_MAX]= { 24, 23, 25 }; void init_led(void); -- Gitblit v1.9.1