Hi, can you post your sketch between code tags please, thats the hash tag , but before posting, with your sketch in the IDE, select TOOLs and then AutoFormat, this will apply detents in your listing to make if and for commands easier to follow.
Thanks Tom..... ![]()