This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2024 John Park for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
""" | |
USB C PD power supply w HUSB238 | |
pick voltages and then set them, measures high side current with INA219 | |
""" | |
import time | |
import board | |
import displayio |
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2023 Scott Shawcroft for Adafruit Industries | |
# SPDX-FileCopyrightText: Copyright (c) 2024 Tod Kurt | |
# SPDX-FileCopyrightText: Copyright (c) 2024 John Park | |
# SPDX-License-Identifier: Unlicense | |
# | |
# Forward MIDI from device on USB Host port to computer via USB MIDI | |
# and 5-pin serial MIDI via MIDI Feather Wing or similar MIDI output. | |
# Suppots hot-plug of the device on the USB Host port. |
This file contains 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
# SPDX-FileCopyrightText: 2024 John Park for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
""" | |
Drum Track Sequencer | |
Feather RP2040, Motor FeatherWing, stepper motor, | |
four reflection sensors (either MIDI out or synthio w amp) | |
""" |
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2023 Scott Shawcroft for Adafruit Industries | |
# SPDX-FileCopyrightText: Copyright (c) 2024 Tod Kurt | |
# SPDX-FileCopyrightText: Copyright (c) 2024 John Park | |
# SPDX-License-Identifier: Unlicense | |
# | |
# Forward MIDI from device on USB Host port to computer via USB MIDI | |
# and 5-pin serial MIDI via MIDI Feather Wing or similar MIDI output. | |
# Suppots hot-plug of the device on the USB Host port. |
This file contains 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
# jpeg loader slideshow | |
# based on color summarizer by @todbot / Tod Kurt | |
#https://gist.github.com/todbot/0bf32a6bf8dd21983a32bafc173b3223#file-code_color_palette_finder-py | |
import time | |
import board | |
import displayio | |
import jpegio | |
from adafruit_hx8357 import HX8357 | |
import gc |
This file contains 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
# SPDX-FileCopyrightText: 2017 Scott Shawcroft, written for Adafruit Industries | |
# SPDX-FileCopyrightText: Copyright (c) 2023 Tod Kurt | |
# | |
# SPDX-License-Identifier: Unlicense | |
"""Demonstrate MicroOSC library in CircuitPython, assumes native `wifi` support""" | |
import time | |
import os |
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2023 john park for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
# simple point-and-shoot camera example | |
# No bells! Zero whistles! | |
import time | |
import adafruit_pycamera | |
pycam = adafruit_pycamera.PyCamera() |
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2023 john park for Adafruit Industries | |
# | |
# SPDX-License-Identifier: MIT | |
''' Faderwave Synthesizer | |
use 16 faders to create the single cycle waveform | |
rotary encoder adjusts other synth parameters | |
audio output: line level over 3.5mm TRS | |
CV output via DAC ''' | |
import board |
This file contains 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
# Faderwave v0.2 PCB | |
# john park 2023 | |
import time | |
import board | |
import busio | |
import ulab.numpy as np | |
import rotaryio | |
import neopixel | |
from digitalio import DigitalInOut, Pull |
This file contains 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
# testing Wave Shape Fader v0.1 PCB | |
# john park 2023 | |
import time | |
import board | |
import busio | |
import ulab.numpy as np | |
import rotaryio | |
import neopixel | |
from digitalio import DigitalInOut, Pull |
NewerOlder