sparkfun / SparkFunDMX

https://www.sparkfun.com/
Other
30 stars 6 forks source link

Lack of examples #18

Open marcvillanuevamir opened 2 months ago

marcvillanuevamir commented 2 months ago

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.

maxroseGIT commented 1 month ago

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.