Restructured code files

This commit is contained in:
erwin
2023-06-29 21:43:32 +02:00
parent 52bd3a6972
commit 4a34a7768c
427 changed files with 43997 additions and 0 deletions

9
code/src/main.cpp Normal file
View 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
View 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