fix output pin settings.
SPI is now working