Skip to content

Instantly share code, notes, and snippets.

View jepler's full-sized avatar
💭
I may be slow to respond.

Jeff Epler jepler

💭
I may be slow to respond.
View GitHub Profile
Bus 001 Device 086: ID 0951:16e4 Kingston Technology HyperX Pulsefire Raid
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
@jepler
jepler / code.py
Last active October 18, 2024 13:51
CircuitPython code for TM1814 Addressable Pixels
# SPDX-FileCopyrightText: 2022 Jeff Epler, written for Adafruit Industries
#
# SPDX-License-Identifier: MIT
"""Demonstrate background writing with TM1814 pixels
The class defined here is largely compatible with the
standard NeoPixel class, except that it always is
writing data to the LEDs in the background.
content/contact/contents.lr: Created or updated redirect to content/about/contact/contents.lr (may need to git add)
content/contact/media/contents.lr: Created or updated redirect to content/about/contact/media/contents.lr (may need to git add)
content/community/team/cflee/contents.lr: Created or updated redirect to content/about/team/cflee/contents.lr (may need to git add)
content/community/team/danyeaw/contents.lr: Created or updated redirect to content/about/team/danyeaw/contents.lr (may need to git add)
content/community/team/elias/contents.lr: Created or updated redirect to content/about/team/elias/contents.lr (may need to git add)
content/community/team/flowerncsu/contents.lr: Created or updated redirect to content/about/team/flowerncsu/contents.lr (may need to git add)
content/community/team/freakboy3742/contents.lr: Created or updated redirect to content/about/team/freakboy3742/contents.lr (may need to git add)
content/community/team/glasnt/contents.lr: Created or updated redirect to content/about/team
❬ \N{MEDIUM LEFT-POINTING ANGLE BRACKET ORNAMENT} U+276c ❬
❰ \N{HEAVY LEFT-POINTING ANGLE BRACKET ORNAMENT} U+2770 ❰
❲ \N{LIGHT LEFT TORTOISE SHELL BRACKET ORNAMENT} U+2772 ❲
❴ \N{MEDIUM LEFT CURLY BRACKET ORNAMENT} U+2774 ❴
⟦ \N{MATHEMATICAL LEFT WHITE SQUARE BRACKET} U+27e6 ⟦
⟨ \N{MATHEMATICAL LEFT ANGLE BRACKET} U+27e8 ⟨
⟪ \N{MATHEMATICAL LEFT DOUBLE ANGLE BRACKET} U+27ea ⟪
⟬ \N{MATHEMATICAL LEFT WHITE TORTOISE SHELL BRACKET} U+27ec ⟬
⦃ \N{LEFT WHITE CURLY BRACKET} U+2983 ⦃
⦇ \N{Z NOTATION LEFT IMAGE BRACKET} U+2987 ⦇
import os
import math
import sys
import time
import alarm
import board
import displayio
import socketpool
import rtc
@jepler
jepler / code_fx.py
Last active September 30, 2024 21:42
# SPDX-FileCopyrightText: Copyright 2024 Jeff Epler for Adafruit Industries
# SPDX-License-Identifier: MIT
import os
import collections
import io
import random
import board
import keypad
import time
import audiobusio
import audiomixer
import audiomp3
import board
decoders = [audiomp3.MP3Decoder("discovered-32.mp3") for _ in range(11)]
mixer_buffer_size = 1536 * 6
mixer = audiomixer.Mixer(
@jepler
jepler / code.py
Last active September 28, 2024 02:31
import array
import rp2pio
import board
import adafruit_pioasm
import time
import supervisor
# MIT licensed https://github.com/No0ne/ps2pico/blob/main/LICENSE
# https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol
#!/usr/bin/python
import os
import datetime
import pytz
now = datetime.datetime.now(datetime.UTC)
sz = set()
for tz in pytz.all_timezones:
zone = pytz.timezone(tz)
import array
import rp2pio
import board
import adafruit_pioasm
import time
# MIT licensed https://github.com/No0ne/ps2pico/blob/main/LICENSE
# https://github.com/tmk/tmk_keyboard/wiki/IBM-PC-AT-Keyboard-Protocol
KBD_DATA = board.GP27