Hi I'm building a 32 channel light system which will be controlled from a spare Arduino Mega I have left over from developing another project
It would make sense for me to output my data to ports as four bytes rather than single pins
The AT Mega has 54 Digital I/O pins it says
I can see from the pinout that Port A and port C appear to be available for me to use as 8 bit ports as the pins have no other assignments
But lots of other IO pins seem to have allocations for interrupts or serial comms. I don't need to use i2c or SPI for this application.
Are there two other 8 bit ports I can use in this way without interfering with other functions? Port L seems to be pretty much free.....
I appreciate I could just use shift register/latches but why add other external hardware (apart from load drivers) if I don't need to.