Suppressing digital pin switching noise

A more advanced chip, such as the ones used in the Teensy 3.x series can have variable drive strength. It is possible to configure the output pin driving capability so that you don't get rapid rises and ringing.

I used this recently on a long SPI bus where the standard drive strength was making all sorts of nasty waves down the wire, which were interfering with the signals on the adjacent wires. Changing the drive strength made it work.

But a series resistor also does the same thing.