spiBusCount method

int spiBusCount()

SPI Bus count - mraa_get_spi_bus_count

Get the number of usable SPI buses, the board must be initialised. Returns Mraa.generalError on failure.

Implementation

int spiBusCount() => _impl.mraa_get_spi_bus_count();