Skip to content

Instantly share code, notes, and snippets.

#include <FastLED.h>
#define LED_PIN 1
#define NUM_LEDS 50
#define BRIGHTNESS 255
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
CRGBPalette16 currentPalette;
#include <FastLED.h>
#define LED_PIN 1
#define NUM_LEDS 50
#define BRIGHTNESS 255
#define LED_TYPE WS2811
#define COLOR_ORDER GRB
CRGB leds[NUM_LEDS];
CRGBPalette16 currentPalette;
@stevelord
stevelord / emf-detector-average.ino
Created October 29, 2017 17:58
A (better) EMF detector
#define SAMPLES 250
unsigned int state = 0;
unsigned long total = 0;
void setup() {
}
void loop() {
@stevelord
stevelord / emf-detector.ino
Created October 29, 2017 17:47
HIDIOT EMF Detector sketch
unsigned int state = 0;
void setup(){
}
void loop(){
state = analogRead(A1);
state = constrain(state, 0, 100);
@stevelord
stevelord / light-sensor.ino
Last active October 25, 2017 14:47
Light Sensor HIDIOT Code
#include <DigiKeyboard.h>
int ldrStatus = 0;
void setup(){
}
void loop(){
DigiKeyboard.sendKeyStroke(0);

Keybase proof

I hereby claim:

  • I am stevelord on github.
  • I am stevelord (https://keybase.io/stevelord) on keybase.
  • I have a public key ASDy0dt9DeZ3NtZsbbz2Qa8YlfW8bWXSIWMdtOaefIYkPgo

To claim this, I am signing this object: