pxt-common-packages
Version:
Microsoft MakeCode (PXT) common packages
8 lines • 553 B
JSON
{
"AnalogInOutPin.touchButton": "Get the cap-touch sensor for given pin (if available)",
"TouchButton.calibrate": "Calibrate the touch sensivity",
"TouchButton.setThreshold": "Manually define the threshold use to detect a touch event. Any sensed value equal to or greater than this value will be interpreted as a touch.",
"TouchButton.setThreshold|param|threshold": "minimum value to consider a touch eg:200",
"TouchButton.threshold": "Gets the current threshold",
"TouchButton.value": "Reads the current value registered with the button."
}