I'd like to use either an UNO or MEGA with the Ethernet shield and 3 TLC5916 (shift registers). I am familiar with connecting the Ethernet shield and what libraries to load, but how do I make a second SPI and address it in code?
From what I am reading, any three digital pins would suffice for the second SPI, and shiftIn() and shiftOut() is to be used. Would this work?
I'd like to build a controller which can take 2 x 9 momentary switches (via voltage divider on an analogue pin). The switches have LED indicators, I'd like to switch on or off (based on which switch was pressed), what I use the TLC5916s for.
Not necessarily. Share the same SPI pins, only the SS pin is different for each device. Or just use a different microcontroller like ESP8266 or ESP32. They have WiFi if appropriate.
Or just use shiftOut() for TLCs.