Create an array from external values

Hello all,

I aim to continuously update an array with values from an Arduino, storing the most recent 5 values. Following this, I’d like to display the average value and repeat the process. I’m currently navigating the array nodes and could use some guidance, would you mind assisting me with this? I’m getting values on screen with the following BP, however it’s pretty slow and it doesn’t look like this is correct.

Blueprint is slow for this kind of operations, u should use c++ :face_in_clouds:

…one day…