/// new constructs a controller for a series of APA102 LEDs.
/// By default, an End Frame consisting of 32 bits of zeroes is emitted
/// following the LED data. Control over the size and polarity
/// of the End Frame is possible using new_with_options().
/// PixelOrder defaults to BGR ordering, and can also be customized
/// using new_with_options()
new constructs a controller for a series of APA102 LEDs.
By default, an End Frame consisting of 32 bits of zeroes is emitted
following the LED data. Control over the size and polarity
of the End Frame is possible using new_with_options().
PixelOrder defaults to BGR ordering, and can also be customized
using new_with_options()
new constructs a controller for a series of APA102 LEDs . By default an End Frame consisting of 32 bits of zeroes is emitted following the LED data . Control over the size and polarity of the End Frame is possible using new_with_options () . PixelOrder defaults to BGR ordering and can also be customized using new_with_options ()
pub fn new(spi: SPI) -> Apa102<SPI> {
        Self {
            spi,
            end_frame_length: 4,
            invert_end_frame: true,
            pixel_order: PixelOrder::BGR,
        }
    }
pub fn new ( spi : SPI ) -> Apa102 < SPI > { Self { spi , end_frame_length : 4 , invert_end_frame : true , pixel_order : PixelOrder :: BGR , } }
new constructs a controller for a series of APA102 LEDs.
new constructs a controller for a series of APA102 LEDs .
spi
SPI