# 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; }()) { } ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up