first commit
This commit is contained in:
19
DeautherX/led.h
Normal file
19
DeautherX/led.h
Normal file
@@ -0,0 +1,19 @@
|
||||
/* This software is licensed under the MIT License: https://github.com/BlackTechX011/DeautherX */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
enum LED_MODE {
|
||||
OFF,
|
||||
SCAN,
|
||||
ATTACK,
|
||||
IDLE
|
||||
};
|
||||
|
||||
namespace led {
|
||||
void setup();
|
||||
void update();
|
||||
void setMode(LED_MODE new_mode, bool force = false);
|
||||
void setColor(uint8_t r, uint8_t g, uint8_t b);
|
||||
}
|
||||
Reference in New Issue
Block a user