10#ifndef TEMPLATE_BOARD_LED_HPP
11#define TEMPLATE_BOARD_LED_HPP
77 static std::unique_ptr<OnBoardLED> instance_;
79 bool initialized_{
false};
Disable both copy and move operations.
Definition non_copyable.hpp:75
Simple on-board LED controller.
Definition onboard_led.hpp:34
~OnBoardLED()=default
Destructor.
void Set(bool on)
Set the LED state.
bool Initialize()
Initialize the on-board LED hardware.
static OnBoardLED * GetInstance()
Get the singleton instance.
void On()
Turn the LED on.
void Off()
Turn the LED off.
void Toggle()
Toggle the LED state.
C7222 course abstractions namespace.
Definition ble.hpp:20
Base classes to control copy/move semantics.