Skip to content

Instantly share code, notes, and snippets.

#include <Wire.h>
#include <SPI.h>
#include <LiquidCrystal_I2C.h>
#include <Adafruit_NeoPixel.h>
#include <Adafruit_CircuitPlayground.h>
#define BACKLIGHT_PIN (3)
#define LED_ADDR (0x27) // might need to be 0x3F, if 0x27 doesn't work
LiquidCrystal_I2C lcd(LED_ADDR, 2, 1, 0, 4, 5, 6, 7, 3, POSITIVE) ;
@caitlinsdad
caitlinsdad / codeORBfinal.py
Created February 24, 2018 15:39
Blade Runner Memory Maker Controller
# started with code from Adafruit CircuitPlayground demo - Keyboard emu
# using servo and HID mouse emulation - Adafruit Circuit Python
from digitalio import DigitalInOut, Direction, Pull
import board
import time
import simpleio
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS
from adafruit_hid.mouse import Mouse
// Note: Based on Meteor Rain example sketch found in Tweaking4All.com from Using Neopixels guide.
//
#include <Adafruit_NeoPixel.h>
#define NUM_LEDS 28
#define PIN 9
#define PIN1 10
#define PIN2 6
@caitlinsdad
caitlinsdad / EctoScarf.ino
Created January 10, 2018 03:54
Ghostbusters Ecto Scarf
// Note: Based on Meteor Rain example sketch found in Tweaking4All.com from Using Neopixels guide.
//
#include <Adafruit_NeoPixel.h>
#define NUM_LEDS 28
#define PIN 9
#define PIN1 10
#define PIN2 6
@caitlinsdad
caitlinsdad / MeteorScarf.ino
Created January 8, 2018 18:47
Neopixel Meteor Scarf
// Note: Based on Meteor Rain example sketch found in Tweaking4All.com from Using Neopixels guide.
//
#include <Adafruit_NeoPixel.h>
#define NUM_LEDS 28
#define PIN 9
#define PIN1 10
#define PIN2 6