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.