YAHAL
Yet Another Hardware Abstraction Library
Loading...
Searching...
No Matches
led_rgb_interface Class Referenceabstract
Inheritance diagram for led_rgb_interface:
led_interface ws2812_rp2040::LED ws2812_rp2350::LED

Public Member Functions

virtual void set_color (uint32_t rgb)=0
 
virtual void set_on_color (uint32_t rgb)=0
 
void operator= (int rgb)
 
void operator= (bool v)
 
- Public Member Functions inherited from led_interface
virtual void on ()=0
 
virtual void off ()=0
 
virtual void toggle ()=0
 
virtual bool is_on ()=0
 
void operator= (bool v)
 

Detailed Description

Definition at line 54 of file led_interface.h.

Member Function Documentation

◆ operator=() [1/2]

void led_interface::operator= ( bool v)
inline

Definition at line 32 of file led_interface.h.

◆ operator=() [2/2]

void led_rgb_interface::operator= ( int rgb)
inline

Definition at line 69 of file led_interface.h.


The documentation for this class was generated from the following file: