Skip to content

DMX library not working with custom pins ESP-C3 #5530

Description

@nmeurer

What happened?

When compiling from source and redefining the hard-coded dmx output pin as mentioned in [https://kno.wled.ge/interfaces/dmx-output/](the wiki), the changed pins won't show up in WLEDs new pin overview. Also, no DMX signal is being produced. Only a constant PWM signal can be observed on the GPIO

To Reproduce Bug

  • Compile WLED from source
  • Enable DMX Output in wled00/wled.h
  • Set the DMX Output pin to 5 in src/dependencies/dmx/ESPDMX.cpp
  • Observe the GPIO with an oscilloscope
  • Observe GPIO 2 still occupied by DMX in the pin overview on ESP32
  • No DMX output on GPIO 2 as well

Expected Behavior

  • Selected Pin 5 marked as used for DMX
  • DMX signal on pin 5

Install Method

Self-Compiled

What version of WLED?

2602141 / v0.15.4 / installed via git clone https://github.com/Aircoookie/WLED.git

Which microcontroller/board are you seeing the problem on?

ESP32-C3

Relevant log/trace output

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugstaleThis issue will be closed soon because of prolonged inactivity

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions