This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

need a component that control 8 or more output simultaneously.

Hi all

I have 8 relays that are controlled via gpio and I want to work with them simultaneously (lets say all on=11111111, some on and some off=11010111). 

 I dont want to use 8 gpio from my controller to do it (because lake of gpio).

I am looking for a component that I can send to it digital data (i2c spi ect) and it will set the gpio outputs according to the data I sent (in that way I can save 8 gipo and work with 1 i2c output).

for example I will send the component 20 via I2c and it gpio outputs will be  00010100.

how does a component like this is called?

Regards,