libPocuter 1.0 Support library for programming the Pocuter

Public Types | Public Member Functions | List of all members
RGBled Class Referenceabstract

Pocuter status LED. More...

`#include <RGBled.h>`

## Public Types
enum | LEDERROR { LEDERROR_OK, LEDERROR_FAILURE }

## Public Member Functions
virtual LEDERROR | setRGB (uint8_t ledNumber, uint8_t r, uint8_t g, uint8_t b)=0
| Setting Status LED. More...

## Detailed Description

Pocuter status LED.

## Member Enumeration Documentation

## ◆ LEDERROR

enum RGBled::LEDERROR

Enumerator
LEDERROR_OK |
LEDERROR_FAILURE |

## Member Function Documentation

## ◆ setRGB()

virtual LEDERROR RGBled::setRGB | ( | uint8_t | ledNumber,
|  | uint8_t | r,
|  | uint8_t | g,
|  | uint8_t | b
| ) |  |
| pure virtual

Setting Status LED.

Parameters

  ledNumber | the led id
  r | value
  g | value
  b | value

Returns
  - LEDERROR_OK Success
  - LEDERROR_FAILURE failed to set RGB

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

- include/hal/RGBled.h