Putting SPI into a different header and source file.
Working at a slow frequency.