Serial to P5

I got my Modern Devices Wind Sensor to talk to p5 in this sketch. I used a lerp(); function to try to smooth out the values, but it didn’t perform as smoothly as say a DOM slider or mouseX adjustment. I am curious how to fix this.

Wind Sensor to P5.