Write an array of data to the SPI interface. 
- Template Parameters
- 
  
  
- Parameters
- 
  
    | data | pointer to data to write |  | len | number of bytes to write |  
 
- Todo
- Need to type this better so that explicit casts into the call aren't required. 
Definition at line 299 of file fastspi_bitbang.h.
  299                                                                                {
  301#ifdef FAST_SPI_INTERRUPTS_WRITE_PINS
  305        }
  306#else
  309 
  311            
  312            
  318 
  321            }
  322 
  323        } else {
  324            
  325            
  330 
  332 
  335            }
  336            
  337        }
  338#endif
  341    }
void select()
Select the SPI output (chip select)
static void writeByte(uint8_t b)
Write a single byte over SPI.
void release()
Release the SPI chip select line.
FastPin< CLOCK_PIN >::port_t clock_t
FastPin< DATA_PIN >::port_t data_t
FastPin< DATA_PIN >::port_ptr_t data_ptr_t
FastPin< CLOCK_PIN >::port_ptr_t clock_ptr_t
Software SPI (aka bit-banging) support Includes aggressive optimizations for when the clock and data ...
static port_t hival()
Gets the state of the port with this pin HIGH
static port_t loval()
Gets the state of the port with this pin LOW
static port_t mask()
Get the pin mask.
static port_ptr_t port()
Get the output state of the port.
References FASTLED_REGISTER, FastPin< PIN >::hival(), FastPin< PIN >::loval(), FastPin< PIN >::mask(), FastPin< PIN >::port(), release(), select(), and writeByte().
Referenced by writeBytes().