started Neopixel structs

This commit is contained in:
Ikatono
2023-12-19 01:38:32 -06:00
parent 2185c25f12
commit 805925c92d
7 changed files with 200 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef H_10337EC23C94444EB1628220BA87E2D7
#define H_10337EC23C94444EB1628220BA87E2D7
#include "pico/sync.h"
class CriticalSection
{
private:
critical_section_t _critical;
public:
CriticalSection();
void lock();
void unlock();
~CriticalSection();
};
#endif //H_10337EC23C94444EB1628220BA87E2D7