mirror of
https://github.com/DashyFox/MusicRing.git
synced 2025-12-15 23:59:42 +00:00
abstract for external display lib
This commit is contained in:
17
modules/LED_Ring.h
Normal file
17
modules/LED_Ring.h
Normal file
@ -0,0 +1,17 @@
|
||||
#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) {};
|
||||
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user