55 of 307
ZBasic System Library 45 ZX Microcontroller Family CloseSPI Type Subroutine Invocation CloseSPI(channel) Parameter Method Type Description channel ByVal Byte The SPI channel number (1-4). Discussion This subroutine closes an SPI channel. The primary purpose for this subroutine is to cancel SPI Slave mode. It has no effect for channels that are not open or channels that are open in Master mode. Compatibility This subroutine is not available in BasicX compatibility mode. See Also OpenSPI, SPICmd