UNPKG

pxt-common-packages

Version:
85 lines 5.24 kB
{ "LightAnimation.ColorWipe|block": "color wipe", "LightAnimation.Comet|block": "comet", "LightAnimation.Rainbow|block": "rainbow", "LightAnimation.RunningLights|block": "running lights", "LightAnimation.Sparkle|block": "sparkle", "LightAnimation.TheaterChase|block": "theater chase", "LightMove.Rotate|block": "rotate", "LightMove.Shift|block": "shift", "NeoPixelMode.APA102|block": "APA102", "NeoPixelMode.RGBW|block": "RGB+W", "NeoPixelMode.RGB_RGB|block": "RGB (RGB format)", "NeoPixelMode.RGB|block": "RGB (GRB format)", "PhotonMode.Eraser|block": "eraser", "PhotonMode.Off|block": "off", "PhotonMode.PenDown|block": "pen down", "PhotonMode.PenUp|block": "pen up", "light.NeoPixelStrip.brightness|block": "%strip|brightness", "light.NeoPixelStrip.clear|block": "%strip|clear", "light.NeoPixelStrip.graph|block": "%strip|graph %value||up to %high", "light.NeoPixelStrip.length|block": "%strip|length", "light.NeoPixelStrip.move|block": "%strip|%kind=MoveKind|by %offset", "light.NeoPixelStrip.photonFlip|block": "%strip|photon flip", "light.NeoPixelStrip.photonForward|block": "%strip|photon forward by %steps", "light.NeoPixelStrip.pixelColor|block": "%strip|pixel color at %pixeloffset", "light.NeoPixelStrip.range|block": "%strip|range from %start|with %length|pixels", "light.NeoPixelStrip.setAll|block": "set %strip all pixels to %rgb=colorNumberPicker", "light.NeoPixelStrip.setBrightness|block": "set %strip brightness %brightness", "light.NeoPixelStrip.setBuffered|block": "set %strip buffered %on", "light.NeoPixelStrip.setGradient|block": "set %strip gradient from %startColor=colorNumberPicker to %endColor=colorNumberPicker", "light.NeoPixelStrip.setLength|block": "set %strip length to %length pixels", "light.NeoPixelStrip.setMode|block": "set %strip mode to %mode", "light.NeoPixelStrip.setPhotonMode|block": "%strip|photon %mode", "light.NeoPixelStrip.setPhotonPenColor|block": "%strip=variables_get|photon set pen color %color=colorNumberPicker", "light.NeoPixelStrip.setPhotonPenHue|block": "%strip=variables_get|photon set pen hue %hue=colorWheelHsvPicker", "light.NeoPixelStrip.setPhotonPosition|block": "%strip|photon set position %index", "light.NeoPixelStrip.setPixelColor|block": "set %strip pixel color at %pixeloffset|to %rgb=colorNumberPicker", "light.NeoPixelStrip.setPixelWhiteLED|block": "set %strip pixel white LED at %pixeloffset|to %white", "light.NeoPixelStrip.showAnimationFrame|block": "%strip|show frame of %animation=light_animation_picker|animation", "light.NeoPixelStrip.showAnimation|block": "%strip|show animation %animation=light_animation_picker|for %duration=timePicker|ms", "light.NeoPixelStrip.show|block": "%strip|show", "light.NeoPixelStrip.stopAllAnimations|block": "%strip|stop all animations", "light._animationPicker|block": "%animation", "light.animation|block": "%kind", "light.clear|block": "clear", "light.colorWipeAnimation|block": "color wipe", "light.colors|block": "%color", "light.cometAnimation|block": "comet", "light.createAPA102Strip|block": "create APA102 strip|data %data|clock %clk|with %numleds pixels", "light.createNeoPixelStrip|block": "create WS2812 strip|pin %pin|with %numleds pixels", "light.createStrip|block": "create WS2812 strip on %pin with %numleds pixels", "light.defaultStrip|block": "default strip", "light.fade|block": "fade %color=neopixel_colors|by %brightness", "light.graph|block": "graph %value||up to %high", "light.hsv|block": "hue %hue|sat %sat|val %val", "light.onboardStrip|block": "onboard strip", "light.photonFlip|block": "photon flip", "light.photonForward|block": "photon forward by %steps", "light.pixelColor|block": "pixel color at %pixeloffset", "light.rainbowAnimation|block": "rainbow", "light.range|block": "range from %start|with %length|pixels", "light.rgb|block": "red %red|green %green|blue %blue", "light.runningLightsAnimation|block": "running lights", "light.setAll|block": "set all pixels to %rgb=colorNumberPicker", "light.setBrightness|block": "set brightness %brightness", "light.setGradient|block": "set gradient from %startRgb=colorNumberPicker to %endRgb=colorNumberPicker", "light.setLength|block": "set pixels length to %numleds pixels", "light.setMode|block": "set default strip mode to %mode", "light.setPhotonMode|block": "photon %mode", "light.setPhotonPenHue|block": "photon set pen hue %hue=colorWheelHsvPicker", "light.setPhotonPosition|block": "photon set position %index", "light.setPixelColor|block": "set pixel color at %pixeloffset|to %rgb=colorNumberPicker", "light.showAnimationFrame|block": "show frame of %animation=light_animation_picker|animation", "light.showAnimation|block": "show animation %animation=light_animation_picker|for %duration=timePicker|ms", "light.sparkleAnimation|block": "sparkle", "light.stopAllAnimations|block": "stop all animations", "light.theaterChaseAnimation|block": "theater chase", "light|block": "light", "{id:category}Easing": "Easing", "{id:category}Light": "Light", "{id:group}Color": "Color", "{id:group}Configuration": "Configuration", "{id:group}More": "More", "{id:group}Photon": "Photon" }