zarino / netballs

Wireless light-up netballs
1 stars 0 forks source link

Added turntaking to improve DMX decoding stability #8

Closed paulgeering closed 1 year ago

paulgeering commented 5 years ago

In an attempt to fully separate the DMX decoding from the Serial printing this version has a turn-taking system whereby the main program waits in an empty loop until the DMX decoder has decoded FRAMES_TO_WAIT frames. The decoder is then stopped while the Serial processing and delay are run.

Testing has proved this to be a very solid way of receiving DMX, with zero glitches recorded while testing with the following DMX Masters:

Video Demo with Lighting Desk