pub fn init<T: CountDown + Periodic>(
        self,
        timer: T,
        port: &mut Port,
    ) -> ws2812::Ws2812<T, OldOutputPin<Pa15<Output<PushPull>>>> {
        let neopixel_pin: OldOutputPin<_> = self.neopixel.into_push_pull_output(port).into();

        ws2812::Ws2812::new(timer, neopixel_pin)
    }
/// Convenience for setting up the onboard neopixels using the provided
/// Timer preconfigured to 3mhz.
Convenience for setting up the onboard neopixels using the provided
Timer preconfigured to 3mhz.
Convenience for setting up the onboard neopixels using the provided Timer preconfigured to 3mhz .
pub fn init<T: CountDown + Periodic>(
        self,
        timer: T,
        port: &mut Port,
    ) -> ws2812::Ws2812<T, OldOutputPin<Pa15<Output<PushPull>>>> {
        let neopixel_pin: OldOutputPin<_> = self.neopixel.into_push_pull_output(port).into();
        ws2812::Ws2812::new(timer, neopixel_pin)
    }
pub fn init < T : CountDown + Periodic > ( self , timer : T , port : & mut Port , ) -> ws2812 :: Ws2812 < T , OldOutputPin < Pa15 < Output < PushPull > > > > { let neopixel_pin : OldOutputPin < _ > = self . neopixel . into_push_pull_output ( port ) . into ( ) ; ws2812 :: Ws2812 :: new ( timer , neopixel_pin ) }
Convenience for setting up the onboard neopixels using the provided
Timer preconfigured to 3mhz.
Convenience for setting up the onboard neopixels using the provided Timer preconfigured to 3mhz .
self
timer
T
port
&mut Port
self
timer
T
port
&mut Port