FabGL
ESP32 Display Controller and Graphics Library

◆ begin()

bool begin ( int  MISO = -1,
int  MOSI = -1,
int  CLK = -1,
int  CS = -1,
int  CSActiveState = -1,
int  host = HSPI_HOST 
)

Initializes MCP23S17 driver.

Parameters
MISOMISO pin (-1 default, depends by the board)
MOSIMOSI pin (-1 default, depends by the board)
CLKCLK pin (-1 default, depends by the board)
CSCS pin (-1 default, depends by the board)
CSActiveStateCS active state (-1 default, depends by the board)
hostSPI host

Definition at line 45 of file MCP23S17.cpp.