Skip to content

Instantly share code, notes, and snippets.

View cbmainz's full-sized avatar

cbmainz cbmainz

View GitHub Profile

Keybase proof

I hereby claim:

  • I am cbmainz on github.
  • I am cbmainz (https://keybase.io/cbmainz) on keybase.
  • I have a public key whose fingerprint is C19C F0D1 5866 B67F 1A6B 7C24 BA2A 98ED E42D D0CA

To claim this, I am signing this object:

#include <Keyboard.h>
int analogValue0 = 0;
int analogValue1 = 0;
int analogValue2 = 0;
int threshold = 800;
int wait = 200;
void setup() {
Serial.begin(9600);
@cbmainz
cbmainz / rgbblynk.ino
Created December 28, 2017 10:57
Neopixel ring with Particle Photon via Blynk
#include <blynk.h>
#include <neopixel.h>
#define PIXEL_COUNT 24
#define PIXEL_PIN D6
#define PIXEL_TYPE WS2812B
#define BRIGHTNESS 60 // 50
Adafruit_NeoPixel strip = Adafruit_NeoPixel(PIXEL_COUNT, PIXEL_PIN, PIXEL_TYPE);