Skip to content

Instantly share code, notes, and snippets.

caitlinsdad

Block or report user

Report or block caitlinsdad

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@caitlinsdad
caitlinsdad / GOTmap.ino
Last active Apr 5, 2019
Game of Thrones Light Up Map
View GOTmap.ino
//#include <Adafruit_CircuitPlayground.h>
#include <Adafruit_NeoPixel.h>
#define bright 25
#define PIN 6
#define PIN2 10
#define PIN3 9
#define PIN4 12
#define NUM_LEDS 29
View werewolfearphones.py
import time
import pulseio
from adafruit_motor import servo
import board
import digitalio
import adafruit_dotstar as dotstar
# One pixel connected internally!
dot = dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1, brightness=0.5)
dot[0] = (0, 0, 0)
dot.show()
@caitlinsdad
caitlinsdad / WerewolfStocking.py
Created Dec 9, 2018
Werewolf Stocking - Adafruit Circuit Playground Express, neopixels, servo, sound
View WerewolfStocking.py
# CircuitPlaygroundExpress_LightSensor
# reads the on-board light sensor and graphs the brighness with NeoPixels
import time
import board
import neopixel
from analogio import AnalogIn
from simpleio import map_range
import random
@caitlinsdad
caitlinsdad / DragonSafetySign.py
Last active Dec 1, 2018
Circuit Playground Express Dragon Sign, cap touch and neopixel fire
View DragonSafetySign.py
import time
import board
import neopixel
import touchio
import audioio
from digitalio import DigitalInOut, Direction
import random
heat = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
cooldown = 0
@caitlinsdad
caitlinsdad / CatSafetySign.py
Last active Nov 30, 2018
Cat Safety Sign CircuitPython
View CatSafetySign.py
import time
import board
import neopixel
import touchio
import audioio
from digitalio import DigitalInOut, Direction
import simpleio
touch2 = touchio.TouchIn(board.A2)
touch3 = touchio.TouchIn(board.A3)
@caitlinsdad
caitlinsdad / CPThermometerScarf
Created Sep 23, 2018
Circuit Playground Classic Thermometer Scarf
View CPThermometerScarf
#include <Adafruit_CircuitPlayground.h>
#include <FastLED.h>
/*
Board is older Adafruit Circuit Playground - Arduino code only
Wiring to header may there for some I2C device SCL-SDA-power previous project
code may contain reference to 2nd neopixel strand which was not used.
This was orginally adapted from some demo code so some functions not used.
Probably from here:
@caitlinsdad
caitlinsdad / florafastledflames.ino
Created Aug 11, 2018
Flora Fastled Multistrip Flames
View florafastledflames.ino
#include <FastLED.h>
#define LED_PIN1 9
#define LED_PIN2 10
#define LED_PIN3 6
#define BUTTON 11
//#define COLOR_ORDER GRB
//#define CHIPSET NEOPIXEL
@caitlinsdad
caitlinsdad / cpxWerewolfPack.py
Created Jul 16, 2018
CPX Werewolf Pack - animatronic tail and neopixel eyes
View cpxWerewolfPack.py
import time
import pulseio
import board
import neopixel
import random
import adafruit_motor.servo
import audioio
from digitalio import DigitalInOut, Direction, Pull
# enable the speaker
@caitlinsdad
caitlinsdad / pridelights.py
Created Jun 21, 2018
Rainbow Pride Traffic Lights Circuit Playground Express
View pridelights.py
# CircuitPlaygroundExpress_NeoPixel
import time
import board
import neopixel
pixels = neopixel.NeoPixel(board.A1, 11, brightness=.3)
pixels.fill((0, 0, 0))
pixels.show()
View dragonVUmeter.ino
/*
LED VU meter for Circuit Playground
This is a port of the Adafruit Amplitie project to Circuit Playground.
Based on code for the adjustable sensitivity version of amplitie from:
https://learn.adafruit.com/led-ampli-tie/the-code
Hardware requirements:
- Circuit Playground
Software requirements:
You can’t perform that action at this time.