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 time | |
import displayio | |
import terminalio | |
# can try import bitmap_label below for alternative | |
from adafruit_display_text import label | |
import adafruit_displayio_sh1107 | |
displayio.release_displays() |
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 array | |
import math | |
import board | |
import audiobusio | |
import time | |
from adafruit_featherwing import neopixel_featherwing | |
neopixel = neopixel_featherwing.NeoPixelFeatherWing() | |
# Remove DC bias before computing RMS. |
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 array | |
import math | |
import board | |
import audiobusio | |
import time | |
from adafruit_featherwing import neopixel_featherwing | |
neopixel = neopixel_featherwing.NeoPixelFeatherWing() | |
# Remove DC bias before computing RMS. |
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: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: MIT | |
import board | |
import adafruit_ahtx0 | |
import time | |
from math import sqrt, cos, sin, radians | |
from adafruit_featherwing import neopixel_featherwing | |
neopixel = neopixel_featherwing.NeoPixelFeatherWing() |
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 busio | |
import adafruit_pcf8523 | |
import time | |
import board | |
import adafruit_framebuf | |
# Import the HT16K33 LED matrix module. | |
from adafruit_ht16k33 import matrix | |
# Create the I2C interface. | |
i2c = busio.I2C(board.SCL, board.SDA) |
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: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: Unlicense | |
#Based on code by Author: Mark Roberts (mdroberts1243) from Adafruit code | |
#Adapted in July 2021 by Andrew Kleindolph | |
import board | |
import time | |
import displayio | |
import terminalio | |
import adafruit_ahtx0 |
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: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: MIT | |
# Basic example of clearing and drawing a pixel on a LED matrix display. | |
# This example and library is meant to work with Adafruit CircuitPython API. | |
# Author: Tony DiCola | |
# License: Public Domain | |
# Import all board pins. | |
import time |
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: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: MIT | |
# Basic example of using FrameBuffer to create and scroll text on the matrix. | |
# Requires: adafruit_framebuf | |
import time | |
import board | |
import busio |
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: 2021 ladyada for Adafruit Industries | |
# | |
# SPDX-License-Identifier: Unlicense | |
""" | |
Author: Mark Roberts (mdroberts1243) from Adafruit code | |
This test will initialize the display using displayio and draw a solid white | |
background, a smaller black rectangle, miscellaneous stuff and some white text. | |
""" |
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: 2021 ladyada for Adafruit Industries | |
# SPDX-License-Identifier: Unlicense | |
#Based on code by Author: Mark Roberts (mdroberts1243) from Adafruit code | |
#Adapted in July 2021 by Andrew Kleindolph | |
import board | |
import time | |
import displayio | |
import terminalio | |
import adafruit_ahtx0 |