This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Input Prankster -- Mouse Jiggler / Key Capper | |
# Waits a random time, then jiggles the mouse for a bit, or toggles Caps Lock | |
# This is meant for fun only, do not use on any critical computers where damage or | |
# loss can occur! | |
# Use at your own risk!! | |
import time | |
import math | |
import random | |
from adafruit_hid.mouse import Mouse |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <MIDI.h> | |
#include "Adafruit_Trellis.h" | |
MIDI_CREATE_DEFAULT_INSTANCE(); | |
Adafruit_Trellis matrix0 = Adafruit_Trellis(); | |
Adafruit_TrellisSet trellis = Adafruit_TrellisSet(&matrix0); | |
#define NUMTRELLIS 1 | |
#define numKeys (NUMTRELLIS * 16) | |
#define INTPIN A2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# CircuitPython CV Arpeggiator | |
# John Park | |
import board | |
import time | |
from analogio import AnalogOut | |
import adafruit_dotstar | |
dot = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1) | |
dot.brightness = 0.3 | |
analog_out = AnalogOut(board.A0) # note: marked ~1 on TrinketM0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Magic 9 Ball | |
# Turn face down and the face up to change images | |
import time | |
import board | |
import displayio | |
import pulseio | |
import touchio | |
import busio | |
import math |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MUNNY BLUEFRUIT LAMP | |
#include <string.h> | |
#include <Arduino.h> | |
#include <SPI.h> | |
#include <Adafruit_NeoPixel.h> | |
#include <Adafruit_LIS3DH.h> | |
#include "Adafruit_BLE.h" | |
#include "Adafruit_BluefruitLE_SPI.h" | |
#include "Adafruit_BluefruitLE_UART.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import adafruit_trellism4 | |
import time | |
import random | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keycode import Keycode | |
from adafruit_hid.consumer_control import ConsumerControl | |
from adafruit_hid.consumer_control_code import ConsumerControlCode | |
# Rotation of the trellis. 0 is when the USB is up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Launch Deck Trellis M4 | |
# USB HID button box for launching applications, media control, camera switching and more | |
# Use it with your favorite keyboard controlled launcher, such as Quicksilver and AutoHotkey | |
import adafruit_trellism4 | |
import time | |
import random | |
from adafruit_hid.keyboard import Keyboard | |
from adafruit_hid.keycode import Keycode | |
from adafruit_hid.consumer_control import ConsumerControl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Opto Mechanical Drum Sequencer | |
# Crickit Feather M4 Express, Crickit FeatherWing, continuous servo, | |
# four reflection sensors, speaker | |
# mixer info https://circuitpython.readthedocs.io/en/latest/shared-bindings/audioio/Mixer.html | |
# 'voices' are the number of sounds that can play simultaneously | |
import time | |
import audioio | |
import board |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Magic Light Bulb remote color mixer | |
# Sends RGB color values, read from three faders on CPB to the bulb | |
# https://www.magiclightbulbs.com/collections/bluetooth-bulbs | |
import adafruit_ble | |
import _bleio | |
import board | |
from analogio import AnalogIn | |
from adafruit_circuitplayground import cp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//RetroKits RK-007 MIDI Commander for Adafruit ItsyBitsy 32u4 | |
#include <splash.h> | |
#include <Adafruit_Keypad_Ringbuffer.h> | |
#include <Adafruit_Keypad.h> | |
#include <Adafruit_GFX.h> | |
#include <Adafruit_SSD1306.h> | |
#include <SPI.h> | |
#include <Wire.h> | |
#include <midi_serialization.h> | |
#include <usbmidi.h> |