phiten / esphome-ikea-led-matrix

esphome custom component for IKEA's LED matrix Frekvens & Obegränsad
25 stars 8 forks source link

Obegränsad which pin for brightness? #1

Closed nagyrobi closed 1 year ago

nagyrobi commented 1 year ago

Hi @phiten,

In your config for Obegränsad there's GPIO14 set for brightness control, but where to connect this to the matrix board?

Is this right?

    latch_pin: 12 # CLA
    clock_pin: 04 # CLKDI
    data_pin: 05 # IN

Maybe for esp8266_pwm we use pin labelled EN? Can we use ledc if we have ESP32?

phiten commented 1 year ago

Yes brightness is on the EN pin. On esp32 ledc should work but haven't tested that yet.

sascha-hemi commented 12 months ago

Yes brightness is on the EN pin. On esp32 ledc should work but haven't tested that yet.

ledc works like a charm

output:
  - platform: ledc
    id: matrix_brightness
    pin:
      number: GPIO14
      inverted: True