agrath / Sniper.Lighting.Dmx

Library for controlling DMX-512 devices using a DMXProUSB controller
29 stars 11 forks source link

Pulse effect flashes wrong value on finish #5

Open simonbuehler opened 3 years ago

simonbuehler commented 3 years ago

hi,

have to do some DMX stuff again and found out that the Pulse effect when running from 0 to 255 for a channel produces a wrong value for the last OUT loop:

21.09.2021 14:41:20: Easing handle completing for channel 7 with value 0 (OUT)
<channel 7 value 255

so when the 0 is meant to be sent a short 255 flash is sent in between, something around https://github.com/agrath/Sniper.Lighting.Dmx/blob/43e263612df18b65589667482d3d91d95d8f319c/Pulse.cs#L77 is fishy, any idea what the problem is?