/* * led.h * * Copyright (C) 2019-2022 Sylvain Munaut * SPDX-License-Identifier: LGPL-3.0-or-later */ #pragma once #include void led_init(void); void led_color(uint8_t r, uint8_t g, uint8_t b); void led_state(bool on); void led_blink(bool enabled, int on_time_ms, int off_time_ms); void led_breathe(bool enabled, int rise_time_ms, int fall_time_ms);