Gear indicator

Without contradicting PaulS, I think it might be helpful for you to write a little test 'sketch' to verify your segments are as you expect.

That's what oldloop() did. That's why I asked if it worked. No response, though.

sorry PaulS i dont understand your first replay, can u explain it

No. I can't think of any shorter words to use. Nothing in that reply looks complicated to me. Nothing in your reply indicates which of the three paragraphs you didn't understand.

Feel free to volunteer more information that you think we need. That's far better than the 20 questions game you are playing now.