State Machine and Multitasking on Arduino With SPI Expanders: Last week, I was asking to create a system to pilot fireworks with an arduino. It needed about 64 outputs to control the fires. One way to do it is to use IC expanders. So 2 solutions are available: - an I2C expander but it needs inverter when you p…