I need all available 32u4 pins to be outputs, and I was wondering, is there any speed penalty while using 32u4 analog inputs as outputs vs regular pins (output current doesn't matter, they will drive small smd low current fets)? Will be changing their state with "port manipulation", not with regular digitalWrite(). P.S. don't waste your time suggesting I2C I/O expanders, I'm aware of those.
Same speed as normal pins. The way arduino calls them "analog pins" confuses a lot of people. Theyre just like normal pins, with the added function that they can also do analogRead. Just like how some pins can also do pwm, or spi, etc.
DrAzzy:
Same speed as normal pins. The way arduino calls them "analog pins" confuses a lot of people. Theyre just like normal pins, with the added function that they can also do analogRead. Just like how some pins can also do pwm, or spi, etc.