|  | Pico Led Controller 1.0.3
                 A project to control LEDs using Raspberry Pi Pico W | 
#include "blink.h"#include <stdio.h>#include <pico/stdlib.h>#include <pico/cyw43_arch.h>#include "light_state.h"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. | |
| void | led_blink (uint32_t on_time, uint32_t off_time) | 
| Blink the LED strip. | |
| 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 | 
Definition at line 10 of file blink.c.