This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
// Sound O Meter | |
// Visual display of ambient noise volume | |
// Copyright (c) 2017 Sam Guyer | |
#define MAX_BRIGHTNESS 100 | |
#define NOISE 8 | |
// -- Arduino pins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ===== FastLED Show task ======================================== | |
// -- The core to run FastLED.show() | |
#define FASTLED_SHOW_CORE 0 | |
bool gShowOnOtherCore = true; | |
// -- Task handles for use in the notifications | |
static TaskHandle_t FastLEDshowTaskHandle = 0; | |
static TaskHandle_t userTaskHandle = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#define FLAME_1_PIN 3 | |
#define FLAME_1_SIZE 60 | |
#define FLAME_2_PIN 4 | |
#define FLAME_2_SIZE 24 | |
#define FLAME_3_PIN 5 | |
#define FLAME_3_SIZE 51 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <FastLED.h> | |
#include <adel.h> | |
#define PIRPIN 6 | |
#define FLAME_1_PIN 3 | |
#define FLAME_1_SIZE 60 | |
#define FLAME_2_PIN 4 | |
#define FLAME_2_SIZE 24 |