Skip to content

Instantly share code, notes, and snippets.

View rhooper's full-sized avatar

Rose Hooper rhooper

  • 05:06 (UTC -04:00)
View GitHub Profile
@rhooper
rhooper / Create-rotating-sprite.ipynb
Created May 17, 2021 18:10
Jupter Notebook to create rotating logo sprite strips.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rhooper
rhooper / heart.py
Created February 23, 2021 15:43
ulab rainbow heart wall
try:
import board
import neopixel
pixel_pin = board.D10
except NotImplementedError:
pass
try:
import ulab as np
except ImportError:
In 2019, I plan to wrap up the _pixelbuf work to accelerate operations on Dotstar and Neopixel strips and matrices.
Once that work is done, I plan to add support to it to help work with grids by adding C level pixel order remapping
support as well as c-level column/row helpers. Ideally I would also be able to make these work with other display
libraries so that we can use these as low-resolution displays.
Beyond that, I hope to work on more networking-oriented stuff in CircuitPython as i'd like to replace all my custom
smart home internet things with CircuitPython powered devices.
@rhooper
rhooper / main.py
Created May 26, 2018 20:04
Metro M0 main.py
# Metro IO demo
# Welcome to CircuitPython 2.2.0 :)
import board
import time
import neopixel
from digitalio import DigitalInOut, Direction, Pull
from analogio import AnalogIn
import audioio
import touchio
@rhooper
rhooper / config.yaml
Created January 2, 2016 06:10
Enhanced auto-light config for home assistant
switch:
platform: mock
switches:
LR Autolight: on
automation:
- alias: Turn on LR lights
trigger:
platform: state