altenbach
Thanks a lot, that was very helpful and it worked very well. and Yes i have put them 5 arrays in which the 52 sensors are divided 🙂
However, I have another question, is there a way to count the sensors up to the last one before they all read zero. For example, if the sensors start reading 3 4 0.2 4 0 1 6 0 0 0 0 ...
I want the program to count all the sensors up to the sensor which reads (6) although some of them read zero before that.
🙂