This is with 500
I use an eye to see when a product is in front of it which triggers a RTO and then when the eye is uncovered moves the value into and integer file. Thereby getting its length based on time.
What I would like to do is get the average of the last 10 products.
Does anyone have any code for doing this in 500? I am not very good with arrays and shift registers but I assume I need something similar here, correct?
Thanks a lot
I use an eye to see when a product is in front of it which triggers a RTO and then when the eye is uncovered moves the value into and integer file. Thereby getting its length based on time.
What I would like to do is get the average of the last 10 products.
Does anyone have any code for doing this in 500? I am not very good with arrays and shift registers but I assume I need something similar here, correct?
Thanks a lot