Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson23- How to connect RGB LED strip using ESP32 by KC868-A4 A8
#16
(10-01-2024, 06:55 AM)admin Wrote: KC868-A32 use these GPIOs for analog input:
#define ANALOG_A1  GPIO39
#define ANALOG_A2  GPIO34
#define ANALOG_A3  GPIO36
#define ANALOG_A4  GPIO35
maybe you have not select correct ESP32 model.

Here's my yaml config:

Code:
esphome:
  name: "kc868-a32"
  platform: ESP32
  board: esp32dev

light:
  - platform: fastled_clockless
    chipset: WS2811
    pin: 39
    num_leds: 30
    rgb_order: GRB
    name: "light_strip"

The error is at "pin: 39" => GPIO39 (34-39) does not support output pin mode.

But I guess the error makes sense, if these pins are for analog input, can they be used to send data?
Reply


Messages In This Thread
RE: Lesson23- How to connect RGB LED strip using ESP32 by KC868-A4 A8 - by ogo - 10-01-2024, 07:25 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)