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
import time | |
import board | |
from digitalio import DigitalInOut, Direction, Pull | |
import audiopwmio | |
import neopixel | |
from audiocore import WaveFile | |
filename = "electrons.wav" | |
# The pad our button is connected to: |
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
import supervisor | |
import time | |
import board | |
# For Trinket M0, Gemma M0, ItsyBitsy M0 Express, and ItsyBitsy M4 Express | |
import adafruit_dotstar | |
import neopixel | |
#led = adafruit_dotstar.DotStar(board.APA102_SCK, board.APA102_MOSI, 1) | |
led = neopixel.NeoPixel(board.D2, 30, auto_write=True) |
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
{ | |
"view_type": "AbsoluteLayout", | |
"sub_views": [ | |
{ | |
"view_type": "Label", | |
"id":"main_lbl", | |
"attributes":{ | |
"anchored_position": ["DISPLAY_WIDTH/2", "DISPLAY_HEIGHT/8"], | |
"color": "0xFF00FF", | |
"anchor_point": [0.5, 0.0], |
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
import board | |
import neopixel | |
from adafruit_led_animation.animation.comet import Comet | |
from adafruit_led_animation.color import GREEN, RED, BLUE, PURPLE | |
from adafruit_led_animation.group import AnimationGroup | |
from adafruit_led_animation import helper | |
# Update to match the pin connected to your NeoPixels | |
pixel_pin = board.NEOPIXEL | |
# Update to match the number of NeoPixels you have connected |
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
import board | |
import neopixel | |
from adafruit_led_animation.animation.comet import Comet | |
from adafruit_led_animation.color import GREEN, RED, BLUE, PURPLE, ORANGE, TEAL, YELLOW, AMBER | |
from adafruit_led_animation.group import AnimationGroup | |
from adafruit_led_animation import helper | |
# Update to match the pin connected to your NeoPixels | |
pixel_pin = board.NEOPIXEL | |
# Update to match the number of NeoPixels you have connected |
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
import board | |
import neopixel | |
from adafruit_led_animation.animation.comet import Comet | |
from adafruit_led_animation.color import GREEN, RED, BLUE, PURPLE, ORANGE, TEAL, YELLOW, AMBER | |
from adafruit_led_animation.group import AnimationGroup | |
from adafruit_led_animation import helper | |
# Update to match the pin connected to your NeoPixels | |
pixel_pin = board.NEOPIXEL | |
# Update to match the number of NeoPixels you have connected |
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
# minimal test for NeoPixels on Raspberry Pi | |
import time | |
import board | |
import neopixel | |
num_pixels = 2 | |
pixels = neopixel.NeoPixel( | |
board.D18, |
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
{ | |
"readme_not_found": [ | |
"https://github.com/adafruit/Adafruit_CircuitPython_SK9822", | |
"https://github.com/adafruit/Adafruit_CircuitPython_MFRC630", | |
"https://github.com/adafruit/Adafruit_CircuitPython_Debug_Bus_Device", | |
"https://github.com/adafruit/Adafruit_CircuitPython_Debug_SPI", | |
"https://github.com/adafruit/Adafruit_CircuitPython_EthernetManager", | |
"https://github.com/adafruit/Adafruit_CircuitPython_AT86RF233" | |
], | |
"readme_has_bad_discord_link": [ |