SparkFunDMX icon indicating copy to clipboard operation
SparkFunDMX copied to clipboard

Lack of examples

Open marcvillanuevamir opened this issue 1 year ago • 1 comments

Hello! Could you provide an example for the dmx.writeBytes() function? The 1st example only shows you how to send a single byte to a single channel, but I don't quite understand how writeBytes is supposed to work otherwise.

marcvillanuevamir avatar Aug 24 '24 18:08 marcvillanuevamir

Hi. I was also surprised that there is no mentioning of the dmx.writeBytes() and dmx.readBytes() functions. Especially, when using fixtures with larger DMX footprints (many DMX adresses in one device) one wants to read data from all relevant DMX adresses in one chunk, rather than invoke the single byte functions multiple times.

More documentation on this library would help make use of it in stage lighting applications for example.

maxroseGIT avatar Sep 23 '24 19:09 maxroseGIT