hideakitai / ESP32DMASPI

SPI library for ESP32 which use DMA buffer to send/receive transactions
MIT License
166 stars 36 forks source link

master.begin() does not support multiple CS pins #26

Closed Magmanat closed 2 years ago

Magmanat commented 2 years ago

my use case is as follows, I need my master to communicate with 4 slaves. But currently master.begin() only accepts HSPI and VSPI, this does not allow me to parallel 4 slaves into HSPI with different Chip Select pins. Is it possible to change the code such I can setup 4 masters with 4 Chip Select pins?

Magmanat commented 2 years ago

i was retarded and didnt see there was another begin version with pins allocated