FabGL
ESP32 Display Controller and Graphics Library
|
bool begin | ( | int | MISO = -1 , |
int | MOSI = -1 , |
||
int | CLK = -1 , |
||
int | CS = -1 , |
||
int | CSActiveState = -1 , |
||
int | host = HSPI_HOST |
||
) |
Initializes MCP23S17 driver.
MISO | MISO pin (-1 default, depends by the board) |
MOSI | MOSI pin (-1 default, depends by the board) |
CLK | CLK pin (-1 default, depends by the board) |
CS | CS pin (-1 default, depends by the board) |
CSActiveState | CS active state (-1 default, depends by the board) |
host | SPI host |
Definition at line 53 of file MCP23S17.cpp.