Arduino leonardo , using multiple interrupts with rotary encoder

Hi!

I have connected 5 encoders to my Arduino leonardo,one on each interrupt pin.
The question is how i can read out every single encoder position in a loop to be able to trigger like keyboard presses depending on the different states.

Can you help me out?

If you want help then post the program that you are trying and tell us what it actually does.

It is a good idea to get a single encoder working before trying to work with 5.

...R

Cyptic:
how i can read out every single encoder position

How can you not? You are getting interrupts. Your interrupt handler is processing every new position. What are you doing in your interrupt handlers and in what way is that not doing what you want?

I have connected 5 encoders to my Arduino leonardo,one on each interrupt pin.

How many interrupt pins does the Leonardo have ?

UKHeliBob:
How many interrupt pins does the Leonardo have ?

I had the same question. I looked. It really does have 5 external interrupt pins.