mirror of
https://github.com/DashyFox/MusicRing.git
synced 2025-05-04 21:40:15 +00:00
18 lines
340 B
C++
18 lines
340 B
C++
#pragma once
|
|
#include <Arduino.h>
|
|
|
|
struct LED_Ring_PINOUT {
|
|
uint8_t Data, CLK_inside, CLK_outside, RESET, OutputEnable;
|
|
};
|
|
|
|
class LED_Ring {
|
|
public:
|
|
LED_Ring_PINOUT pinOut;
|
|
uint16_t ledCount;
|
|
uint16_t updateFrec;
|
|
|
|
LED_Ring(uint16_t _ledCount, LED_Ring_PINOUT _pinOut) : ledCount(_ledCount), pinOut(_pinOut) {};
|
|
|
|
|
|
};
|