Serial input light intensity smooth by lerp node?

I have a serial input which reads a Arduino value and converts it into a light intnsity within a level.
So far, everything works. But, I would like to have a linear fade between the input and current value.
I tried to use a “Lerp” node, but I can’t figure it out.
Any help ? See attached images for my setup.

Thanks

Try it like this:

Target here is the Arduino reading.


Your current setup is a tad odd - Tick + Delay is hardly ever a good combo. Wouldn’t it be better to perform the calculation only when the value is changing rather than all the time?

I’m unfamiliar with Arduino but it’s quite likely you could just event-bind the whole thing and Lerp between min / max, using the reading as alpha (or map range the value if need be) - a much more efficient approach.