I just need to send a +1 or -1 CC message.
I'll solve this problem later..
They support interrupts on all pins,
So do all Arduinos, with the pin change interrupt vector.
Can you explain with the easiest words how to do this? And please, help me to reduce the number of pins used, because I have to add many buttons and almost every button needs a led to feedback the state... No one?
aving pins on the encoders is not going to work out very well. But why not use serial in parallel out shift registers (e.g. 74HC595) for your LEDs, and some parallel in serial out shift registers for your buttons, or just multiplex them in one big matrix?Pieter
Some sort of port expander with its own change interrupts might be good. A quick searchreveale the MCP23017 which has 16 gpio pins which can be configured to interrupt on changeand have internal pull-ups. That should handle 8 rotary encoders with just the SPI bus and one interrupt pin.
Yes, I have very poor knowledge in electronics, that's why I'm asking to you! can you givr more info about that?
It sound quite interesting! what is SPI bus? May be this is what I was looking for...
It sound quite interesting! what is SPI bus?