Light

Light up pixels on the NeoPixel ring. Show light effects and animations.

The NeoPixel ring

light.showRing('')
light.showAnimation(null, 500)
light.showAnimationFrame(null)
light.stopAllAnimations()
light.animation(0)
light.graph(0, 0)
light.setAll(0)
light.setBrightness(0)
light.setPixelColor(0,0)
light.clear()
light.pixelColor(0)
light.onboardStrip()

Photons

light.photonForward(0)
light.photonFlip()
light.setPhotonPosition(0)
light.setPhotonPenHue(0)
light.setPhotonMode(PhotonMode.PenUp)

Colors

light.rgb(255, 255, 255)
light.hsv(255, 255, 255)
light.colors(0xff0000)
light.fade(0, 0)

External NeoPixel strips

light.createStrip(null,0,0)

See also

show ring, onboard strip, default pin, showAnimation, showAnimationFrame, stopAllAnimations, animation, graph, setAll, setBrightness, setPixelColor, clear, pixelColor, photonForward, photonFlip, setPhotonPenHue, setPhotonMode, rgb, hsv, colors, fade, create strip

circuit-playground