Skip to content

Instantly share code, notes, and snippets.

Avatar

kwalseth

View GitHub Profile
View pyportal
import time
import board
from adafruit_pyportal import PyPortal
from adafruit_button import Button
import neopixel
import analogio
# Set the background color
BACKGROUND_COLOR = 0x443355
View emblem.py
import time
import board
from adafruit_pyportal import PyPortal
from adafruit_button import Button
import neopixel
import analogio
# Set the background color
BACKGROUND_COLOR = 0x443355
View move motor
import board
import digitalio
import pulseio
import time
import neopixel
import busio
import adafruit_hcsr04
import math
import MOVEmotor
import displayio
@kwalseth
kwalseth / emergency sounds lights
Last active Mar 30, 2020
emergency sounds/lights
View emergency sounds lights
import random
import time
import board
import neopixel
import touchio
import digitalio
from audioio import WaveFile
from audioio import AudioOut
touch_pad = board.A3
@kwalseth
kwalseth / firetruck
Last active Mar 27, 2020
firetruck bed
View firetruck
import random
import time
import board
import neopixel
import touchio
import digitalio
from audioio import WaveFile
from audioio import AudioOut
touch_pad = board.A3
View firetruck lights
import random
import time
import board
import neopixel
import touchio
import digitalio
from audioio import WaveFile
from audioio import AudioOut
View firetruck lights
import random
import time
import board
import neopixel
import touchio
import digitalio
from audioio import WaveFile
from audioio import AudioOut
View firetruck-lights
import random
import time
import board
import neopixel
import touchio
import digitalio
from audioio import WaveFile
from audioio import AudioOut