Giter VIP home page Giter VIP logo

Comments (3)

sfe-SparkFro avatar sfe-SparkFro commented on August 11, 2024

Hi there, apologies for the long response time!

In the example, do you have numChannels set to the default of 1, or have you changed it to 512?

The current implementation of this library requires the host to send all numChannels in a single burst, partial transmissions aren't supported. This is to help improve synchronization, and is implemented in this check here:

// Check if we've received the amount of data expected, +1 for break signal
else if(_dmxSerial->available() >= (_numChannels + 1))

from sparkfundmx.

maxroseGIT avatar maxroseGIT commented on August 11, 2024

In the example, do you have numChannels set to the default of 1, or have you changed it to 512?

Does that mean one has to simply set numChannels to 512 in both example code Example1-DMXOutput and Example2-DMXInput ?

When I did that on two DMX shields with ESP32 boards, the DMX transmission was not received on the shield with Example2-DMXInput code. (see my issue here.

Maybe a few more code examples that work with numChannels = 512, the full DMX channel range, should be added to the library repository ?

This may clarify how the library works when using the DMX shield in an environment with many lamps, were professional DMX gear is used to control the DMX shield and all other lamps in the DMX chain...

from sparkfundmx.

patrick-smael avatar patrick-smael commented on August 11, 2024

@sfe-SparkFro I had set the numChannels to 512 but it did not read it also with this setup.

from sparkfundmx.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.