I have a fader which connects via serial passes a value in depending on its position. I am looking at using this to control a light however due to the serial rate we only get around 5 messages per fade. As such I need to fill in the gaps on the fade.
My idea was to use the time stamp from the messages and its value to work out how long it took to get between the message values, then use this as the fade amount and time. However I need this to update in real time whilst the fader is moving. I am drawing a blank on how to achieve this and wondered if anyone had any idea how to approach this?