I have a question that deals with sequentially controlling 24 SPST analog switch(ADG1412) for sourcing 24 different LEDs. I’m mostly concerned with the advantages/disadvantages of using a GPIO expander or simply running 24 different wires from my ATMEGA2560.
My goal is to maintain low power within my whole design (<4W) but I need to compare this to the ease of using 2 MCP23017 or simply turning the pins on and off from the ATMEGA. The 2 MCPs add about 10mW, this takes up a lot. I do have the option of increasing to about 6W but would rather not lower the bar.
Just looking for some advice or direction. Thanks in advance.