![]() |
Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
|
Go to the source code of this file.
Functions | |
void | onboard_led_blink (uint32_t on_time, uint32_t off_time) |
Blink the onboard LED. More... | |
void | led_blink (uint32_t on_time, uint32_t off_time) |
Blink the LED strip. More... | |
void led_blink | ( | uint32_t | on_time, |
uint32_t | off_time | ||
) |
Blink the LED strip.
Function blinks the LED strip with the given on and off times blocking current thread with sleep.
on_time | time in milliseconds the LED is on |
off_time | time in milliseconds the LED is off |
Definition at line 22 of file blink.c.
References toggle_light_state().
void onboard_led_blink | ( | uint32_t | on_time, |
uint32_t | off_time | ||
) |
Blink the onboard LED.
Function blinks the onboard LED with the given on and off times blocking current thread with sleep.
on_time | time in milliseconds the LED is on |
off_time | time in milliseconds the LED is off |