PyLeap will list the device enabled guides, including this one. Our first stop is using Glider (wireless file transfer) inside of PyLeap to work with BundlFly on the Adafruit Learning System to bundle up and send the files on over! The files include code.py and the libraries. For this proof-of-concept we're going to toss a rainbow on over to a Circuit Playground Bluefruit Express.

import time
import board
import neopixel

pixels = neopixel.NeoPixel(board.NEOPIXEL, 10, brightness=0.2, auto_write=False)

while True:
    for j in range(255):
        for i in range(len(pixels)):
            rc_index = (i * 256 // len(pixels)) + j
            pixels[i] = neopixel._pixelbuf.wheel(rc_index)
        pixels.show()

This guide was first published on Jun 25, 2021. It was last updated on Jun 25, 2021.

This page (Glide on over to some Rainbows) was last updated on Jul 22, 2021.

Text editor powered by tinymce.