Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions _locales/cs/neopixel-jsdoc-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"NeoPixelColors": "Well known colors for a NeoPixel strip",
"NeoPixelMode": "Different modes for RGB or RGB+W NeoPixel strips",
"neopixel": "Functions to operate NeoPixel strips.",
"neopixel.Strip": "A NeoPixel strip",
"neopixel.Strip.clear": "Turn off all LEDs.\nYou need to call ``show`` to make the changes visible.",
"neopixel.Strip.easeBrightness": "Apply brightness to current colors using a quadratic easing function.",
"neopixel.Strip.length": "Gets the number of pixels declared on the strip",
"neopixel.Strip.power": "Estimates the electrical current (mA) consumed by the current light configuration.",
"neopixel.Strip.range": "Create a range of LEDs.",
"neopixel.Strip.range|param|length": "number of LEDs in the range. eg: 4",
"neopixel.Strip.range|param|start": "offset in the LED strip to start the range",
"neopixel.Strip.rotate": "Rotate LEDs forward.\nYou need to call ``show`` to make the changes visible.",
"neopixel.Strip.rotate|param|offset": "number of pixels to rotate forward, eg: 1",
"neopixel.Strip.setBrightness": "Set the brightness of the strip. This flag only applies to future operation.",
"neopixel.Strip.setBrightness|param|brightness": "a measure of LED brightness in 0-255. eg: 255",
"neopixel.Strip.setMatrixColor": "Set LED to a given color (range 0-255 for r, g, b) in a matrix shaped strip \nYou need to call ``show`` to make the changes visible.",
"neopixel.Strip.setMatrixColor|param|rgb": "RGB color of the LED",
"neopixel.Strip.setMatrixColor|param|x": "horizontal position",
"neopixel.Strip.setMatrixColor|param|y": "horizontal position",
"neopixel.Strip.setMatrixWidth": "Sets the number of pixels in a matrix shaped strip",
"neopixel.Strip.setMatrixWidth|param|width": "number of pixels in a row",
"neopixel.Strip.setPin": "Set the pin where the neopixel is connected, defaults to P0.",
"neopixel.Strip.setPixelColor": "Set LED to a given color (range 0-255 for r, g, b). \nYou need to call ``show`` to make the changes visible.",
"neopixel.Strip.setPixelColor|param|pixeloffset": "position of the NeoPixel in the strip",
"neopixel.Strip.setPixelColor|param|rgb": "RGB color of the LED",
"neopixel.Strip.setPixelWhiteLED": "For NeoPixels with RGB+W LEDs, set the white LED brightness. This only works for RGB+W NeoPixels.",
"neopixel.Strip.setPixelWhiteLED|param|pixeloffset": "position of the LED in the strip",
"neopixel.Strip.setPixelWhiteLED|param|white": "brightness of the white LED",
"neopixel.Strip.shift": "Shift LEDs forward and clear with zeros.\nYou need to call ``show`` to make the changes visible.",
"neopixel.Strip.shift|param|offset": "number of pixels to shift forward, eg: 1",
"neopixel.Strip.show": "Send all the changes to the strip.",
"neopixel.Strip.showBarGraph": "Displays a vertical bar graph based on the `value` and `high` value.\nIf `high` is 0, the chart gets adjusted automatically.",
"neopixel.Strip.showBarGraph|param|high": "maximum value, eg: 255",
"neopixel.Strip.showBarGraph|param|value": "current value to plot",
"neopixel.Strip.showColor": "Shows all LEDs to a given color (range 0-255 for r, g, b).",
"neopixel.Strip.showColor|param|rgb": "RGB color of the LED",
"neopixel.Strip.showRainbow": "Shows a rainbow pattern on all LEDs.",
"neopixel.Strip.showRainbow|param|endHue": "the end hue value for the rainbow, eg: 360",
"neopixel.Strip.showRainbow|param|startHue": "the start hue value for the rainbow, eg: 1",
"neopixel.colors": "Gets the RGB value of a known color",
"neopixel.create": "Create a new NeoPixel driver for `numleds` LEDs.",
"neopixel.create|param|numleds": "number of leds in the strip, eg: 24,30,60,64",
"neopixel.create|param|pin": "the pin where the neopixel is connected.",
"neopixel.hsl": "Converts a hue saturation luminosity value into a RGB color",
"neopixel.hsl|param|h": "hue from 0 to 360",
"neopixel.hsl|param|l": "luminosity from 0 to 99",
"neopixel.hsl|param|s": "saturation from 0 to 99",
"neopixel.rgb": "Converts red, green, blue channels into a RGB color",
"neopixel.rgb|param|blue": "value of the blue channel between 0 and 255. eg: 255",
"neopixel.rgb|param|green": "value of the green channel between 0 and 255. eg: 255",
"neopixel.rgb|param|red": "value of the red channel between 0 and 255. eg: 255"
}
37 changes: 37 additions & 0 deletions _locales/cs/neopixel-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"NeoPixelColors.Black|block": "černá",
"NeoPixelColors.Blue|block": "modrá",
"NeoPixelColors.Green|block": "zelená",
"NeoPixelColors.Indigo|block": "zelenomodrá",
"NeoPixelColors.Orange|block": "oranžová",
"NeoPixelColors.Purple|block": "růžová",
"NeoPixelColors.Red|block": "červená",
"NeoPixelColors.Violet|block": "fialová",
"NeoPixelColors.White|block": "bílá",
"NeoPixelColors.Yellow|block": "žlutá",
"NeoPixelMode.RGBW|block": "RGB+W",
"NeoPixelMode.RGB_RGB|block": "RGB (RGB mód)",
"NeoPixelMode.RGB|block": "RGB (GRB mód)",
"neopixel.Strip.clear|block": "%strip|vymaž",
"neopixel.Strip.easeBrightness|block": "%strip|zmírni jas",
"neopixel.Strip.length|block": "%strip|délka",
"neopixel.Strip.power|block": "%strip|proud (mA)",
"neopixel.Strip.range|block": "%strip|rozsah %start|z %length|LED",
"neopixel.Strip.rotate|block": "%strip|posuň pixel o %offset",
"neopixel.Strip.setBrightness|block": "%strip|nastav jas %brightness",
"neopixel.Strip.setMatrixColor|block": "%strip|nastav matici barev x %x|y %y|na %rgb=neopixel_colors",
"neopixel.Strip.setMatrixWidth|block": "%strip|nastav šířku matice %width",
"neopixel.Strip.setPixelColor|block": "%strip|nastav barvu pixelu %pixeloffset|na %rgb=neopixel_colors",
"neopixel.Strip.setPixelWhiteLED|block": "%strip|nastav bílý LED pixel od %pixeloffset|do %white",
"neopixel.Strip.shift|block": "%strip|posuň pixely o %offset",
"neopixel.Strip.showBarGraph|block": "%strip|ukaž čárový graf od %value|do %high",
"neopixel.Strip.showColor|block": "%strip|ukaž barvu %rgb=neopixel_colors",
"neopixel.Strip.showRainbow|block": "%strip|ukaž duhu od %startHue|do %endHue",
"neopixel.Strip.show|block": "%strip|ukaž",
"neopixel.colors|block": "%color",
"neopixel.create|block": "NeoPixel na pinu %pin|pásek s %numleds|ks LED v módu %mode",
"neopixel.hsl|block": "odstín %h|saturace %s|jas %l",
"neopixel.rgb|block": "červená %red|zelená %green|modrá %blue",
"neopixel|block": "neopixel",
"{id:category}Neopixel": "Neopixel"
}
1 change: 1 addition & 0 deletions pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"files": [
"README.md",
"neopixel.ts",
"_locales/cs/neopixel-strings.json",
"_locales/ja/neopixel-strings.json",
"_locales/de/neopixel-strings.json",
"_locales/de/neopixel-jsdoc-strings.json",
Expand Down