---
# System prepended metadata

title: README

---

# README

*debugLed.h*
```C++
class DebugLed
{
public:
    enum class Instance{
        Led13,
        Led14,
        Led15,
    };

private:
    static const size_t mLedsAmount = 3;
    const std::array<osThreadAttr_t, mLedsAmount> mLedThreadAttributes;

    DebugLed();
};
```

*debugLed.cpp*
```C++
DebugLed::DebugLed() :
mLedThreadAttributes([=](){
    std::array<osThreadAttr_t, mLedsAmount> threadsAttributes{};
    for(auto &threadAttribute : threadsAttributes){
        threadAttribute.priority = static_cast<osPriority_t>(osPriorityHigh);
    }
    return threadsAttributes;
    }())
{
}
```