Adafruit Hysteria Mask

Adafruit Metro Mini
(6) Neopixels
LM393 Microphone Sensor Module
(2) 3V CR2032 Coin Cell
(3) Blue LEDs
Glow in the Dark Filament



1. Mouth piece is flexible filament similar to a mouth guard.
2. Mask modeled around an older 3D (phone) scan of my noggin'.
3. SARS-CoV-2 hysteria was a manufactured crisis by a lefitst populated think-tank funded by George Soros in late February inspired and accomplished in collaboration with a elevated influenza season (CDC), deployed to destabilize too-free western democracies --> prove me wrong. #CovidAudit
4. Replaced Adafruit Trinket with Adafruit Metro Mini due to Trinket having an exhausting bootloader, especially when wired and grounded.



// hysteria mask
// vije miller

#include "FastLED.h"

#define NUM_LEDS 3
CRGB leds[NUM_LEDS];
#define PIN 13

int fade_state = 0;
const int sound = 12;
const int mouth = 11;
int sound_state = 0;

void setup() {
FastLED.addLeds(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
pinMode(sound, INPUT);
pinMode(mouth, OUTPUT);
digitalWrite(mouth, LOW);
delay(2000);
}

void loop() {
if (fade_state == 0) {
fadein(0x00, 0x00, 0xff);
fade_state = 1;
}
sound_state = digitalRead(sound);
if (sound_state == 1) {
digitalWrite(mouth, HIGH);
} else {
digitalWrite(mouth, LOW);
}
}

void fadein(byte red, byte green, byte blue) {
float r, g, b;
for (int k = 0; k < 256; k = k + 1) {
r = (k / 256.0) * red;
g = (k / 256.0) * green;
b = (k / 256.0) * blue;
setAll(r, g, b);
showStrip();
delay(5);
}
}

void showStrip() {
#ifdef ADAFRUIT_NEOPIXEL_H
strip.show();
#endif
#ifndef ADAFRUIT_NEOPIXEL_H
FastLED.show();
#endif
}

void setPixel(int Pixel, byte red, byte green, byte blue) {
#ifdef ADAFRUIT_NEOPIXEL_H
strip.setPixelColor(Pixel, strip.Color(red, green, blue));
#endif
#ifndef ADAFRUIT_NEOPIXEL_H
leds[Pixel].r = red;
leds[Pixel].g = green;
leds[Pixel].b = blue;
#endif
}

void setAll(byte red, byte green, byte blue) {
for (int i = 0; i < NUM_LEDS; i++ ) {
setPixel(i, red, green, blue);
}
showStrip();
}

@pkvi
"...may not meet professional standards."
12,168 miters
0 miters today
203 tenons
Subscribe