changed spi ports sclk, miso & mosi to inout, so we can remove the internal helper signals