pub fn from_spi_cs(
        displays: usize,
        spi: SPI,
        cs: CS,
        blank_pin: BLANK,
        xerr_pin: XERR,
    ) -> Result<Self> {
        TLC5940::new(
            SpiConnectorSW::new(displays, spi, cs),
            blank_pin,
            xerr_pin,
        )
    }
///
/// Construct a new TLC5940 driver instance from pre-existing SPI and CS pin
/// set to output. This version of the connection uses the CS pin manually
/// to avoid issues with how the CS mode is handled in hardware SPI implementations.
///
/// * `NOTE` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency.
///
/// # Arguments
///
/// * `displays` - number of displays connected in series
/// * `spi` - the SPI interface initialized with MOSI, MISO(unused) and CLK
/// * `cs` - the CS PIN used to LOAD register on the display set to output mode
///
/// # Errors
///
/// * `DataError` - returned in case there was an error during data transfer
///
Construct a new TLC5940 driver instance from pre-existing SPI and CS pin
set to output. This version of the connection uses the CS pin manually
to avoid issues with how the CS mode is handled in hardware SPI implementations.

`NOTE` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency.
Construct a new TLC5940 driver instance from pre - existing SPI and CS pin set to output . This version of the connection uses the CS pin manually to avoid issues with how the CS mode is handled in hardware SPI implementations . ` NOTE ` - make sure the SPI is initialized in MODE_0 with max 10 Mhz frequency .
pub fn from_spi_cs(
        displays: usize,
        spi: SPI,
        cs: CS,
        blank_pin: BLANK,
        xerr_pin: XERR,
    ) -> Result<Self> {
        TLC5940::new(
            SpiConnectorSW::new(displays, spi, cs),
            blank_pin,
            xerr_pin,
        )
    }
pub fn from_spi_cs ( displays : usize , spi : SPI , cs : CS , blank_pin : BLANK , xerr_pin : XERR , ) -> Result < Self > { TLC5940 :: new ( SpiConnectorSW :: new ( displays , spi , cs ) , blank_pin , xerr_pin , ) }
Construct a new TLC5940 driver instance from pre-existing SPI and CS pin
set to output.
Construct a new TLC5940 driver instance from pre - existing SPI and CS pin set to output .
displays
usize
spi
SPI
cs
CS
blank_pin
BLANK
xerr_pin
XERR
displays
usize
spi
SPI
cs
CS
blank_pin
BLANK
xerr_pin
XERR
errors
`DataError` - returned in case there was an error during data transfer
` DataError ` - returned in case there was an error during data transfer