Rotary encoder + 7 segment display.

gavron04:
I have tested with = and ==. But it nothing changes.

Well, you can try to eat with a fork or a pencil. But if you are trying to eat water, neither will work. That doesn't mean that when you realize you need to eat food, a pencil will work.