big

Hi,
one at a time or number from 1 to 1000

I prefer if it stay under 0,40$ per output.

I have two idea but there is certainly more

  1. an integrated circuit that goes on or off when it receives its code. and use one on each device. sending all the codes to all the switches. and it only goes on or off when it is their codes.

  2. a circuit that turns on off, each output. all in one. but i found only ones with not a lot of output.

it seems to me the 1. is more simple, less expensive for a for over 1000. but it maybe 2. or another one.
does it exist or should it be produced.

thanks,