Error List index but App works fine, please help!

Hello, I was working on a app for a system with 7 sensors with arduino IDE. I have done everything is written here about the list index error as you see in my blocks. The app works fine but it shows the error window with list index. When I touch my screen in an empty space the window dissapears and the app works fine but it keeps coming back after restart the app or after some minutes. I upload my arduino code as well. Any thoughts please? Thanks!






Agro_Tool_app.aia (499.5 KB)






Try increasing the clock interval to e.g. 50 or 100ms. The more so that in the esp code you have a delay anyway ...

1 Like

Thank you for the quick response! I solved it by adding one if for list length.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.