Restructured code files
This commit is contained in:
9
code/src/main.cpp
Normal file
9
code/src/main.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <Arduino.h>
|
||||
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
}
|
||||
15
code/src/main.h
Normal file
15
code/src/main.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef MAIN_H
|
||||
#define MAIN_H
|
||||
|
||||
#define PIN_LEDSTRIP D2
|
||||
#define PIN_SWITCH_DISABLE D4
|
||||
#define PIN_SWITCH_ACTIVE D3
|
||||
|
||||
#define NUM_LEDS 5
|
||||
#define BRIGHTNESS 127
|
||||
#define LED_TYPE WS2811
|
||||
#define COLOR_ORDER GRB
|
||||
|
||||
void display(CRGB color, bool blink);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user