pxt-common-packages
Version:
Microsoft MakeCode (PXT) common packages
37 lines • 3.66 kB
JSON
{
"lcd": "Character LCD support",
"lcd.CharacterLCD.blink": "Blink the cursor. True to blink the cursor. False to stop blinking.",
"lcd.CharacterLCD.blink@set": "Blink the cursor. True to blink the cursor. False to stop blinking.",
"lcd.CharacterLCD.clear": "Clears everything displayed on the LCD.\nThe following example displays, \"Hello, world!\", then clears the LCD.",
"lcd.CharacterLCD.create_char": "Fill one of the first 8 CGRAM locations with custom characters.\nThe location parameter should be between 0 and 7 and pattern should\nprovide an array of 8 bytes containing the pattern. E.g. you can easily\ndesign your custom character at http://www.quinapalus.com/hd44780udg.html\nTo show your custom character use, for example, ``lcd.message = \"\u0001\"``",
"lcd.CharacterLCD.cursor": "True if cursor is visible. False to stop displaying the cursor.",
"lcd.CharacterLCD.cursor@set": "True if cursor is visible. False to stop displaying the cursor.",
"lcd.CharacterLCD.display": "Enable or disable the display. True to enable the display. False to disable the display.",
"lcd.CharacterLCD.display@set": "Enable or disable the display. True to enable the display. False to disable the display.",
"lcd.CharacterLCD.home": "Moves the cursor \"home\" to position (1, 1).",
"lcd.CharacterLCD.message": "Display a string of text on the character LCD.",
"lcd.CharacterLCD.message@set": "Display a string of text on the character LCD.",
"lcd.CharacterLCD.moveLeft": "Moves displayed text left one column.",
"lcd.CharacterLCD.moveRight": "Moves displayed text right one column.",
"lcd.CharacterLCD.setCursorPosition": "Move the cursor to position ``column``, ``row``",
"lcd.CharacterLCDMono.backlight": "Enable or disable backlight. True if backlight is on. False if backlight is off.",
"lcd.CharacterLCDMono.backlight@set": "Enable or disable backlight. True if backlight is on. False if backlight is off.",
"lcd.CharacterLCDRGB.color": "The color of the display. Provide a list of three integers ranging 0 - 100, ``[R, G, B]``.\n``0`` is no color, or \"off\". ``100`` is maximum color. For example, the brightest red would\nbe ``[100, 0, 0]``, and a half-bright purple would be, ``[50, 0, 50]``.\nIf PWM is unavailable, ``0`` is off, and non-zero is on. For example, ``[1, 0, 0]`` would\nbe red.",
"lcd.CharacterLCDRGB.color@set": "The color of the display. Provide a list of three integers ranging 0 - 100, ``[R, G, B]``.\n``0`` is no color, or \"off\". ``100`` is maximum color. For example, the brightest red would\nbe ``[100, 0, 0]``, and a half-bright purple would be, ``[50, 0, 50]``.\nIf PWM is unavailable, ``0`` is off, and non-zero is on. For example, ``[1, 0, 0]`` would\nbe red.",
"lcd.clear": "Clears the screen",
"lcd.screen": "Gets the current LCD screen",
"lcd.setBlink": "Enables or disables blinking",
"lcd.setBlink|param|enabled": "true to blink",
"lcd.setCursor": "Show or hide cursor",
"lcd.setCursor|param|enabled": "true to display cursor, false otherwise",
"lcd.setDisplay": "Enables or disables display",
"lcd.setDisplay|param|enabled": "true to turn the display on; false otherwise",
"lcd.showNumber": "Shows a number on the LCD screen",
"lcd.showNumber|param|value": "the number to show",
"lcd.showString": "Shows a string on the LCD screen",
"lcd.showString|param|line": "the line number starting at 1...",
"lcd.showString|param|text": "the text to show",
"lcd.showValue": "Shows a name, value pair on the screen",
"lcd.showValue|param|line": "the line number to print the text at (starting at 1), eg: 1",
"lcd.showValue|param|value": "the numeric value"
}