2017-11-30 18:53:43 +01:00
|
|
|
{
|
|
|
|
"sensors.InfraredSensor.onEvent": "Registers code to run when an object is getting near.",
|
|
|
|
"sensors.InfraredSensor.onEvent|param|handler": "the code to run when detected",
|
2017-12-12 19:46:56 +01:00
|
|
|
"sensors.InfraredSensor.pauseUntil": "Waits for the event to occur",
|
2017-11-30 18:53:43 +01:00
|
|
|
"sensors.InfraredSensor.proximity": "Get the promixity measured by the infrared sensor, from ``0`` (close) to ``100`` (far)",
|
|
|
|
"sensors.InfraredSensor.remoteCommand": "Get the remote commandreceived the infrared sensor.",
|
2018-01-09 21:46:48 +01:00
|
|
|
"sensors.InfraredSensor.setThreshold": "Sets a threshold value",
|
|
|
|
"sensors.InfraredSensor.setThreshold|param|condition": "the dark or bright light condition",
|
|
|
|
"sensors.InfraredSensor.setThreshold|param|value": "the value threshold",
|
2018-01-30 17:27:23 +01:00
|
|
|
"sensors.InfraredSensor.threshold": "Gets the threshold value",
|
|
|
|
"sensors.InfraredSensor.threshold|param|condition": "the proximity condition",
|
2017-11-30 18:53:43 +01:00
|
|
|
"sensors.RemoteInfraredBeaconButton.isPressed": "Check if a remote button is currently pressed or not.",
|
|
|
|
"sensors.RemoteInfraredBeaconButton.onEvent": "Do something when a button or sensor is clicked, up or down",
|
|
|
|
"sensors.RemoteInfraredBeaconButton.onEvent|param|body": "code to run when the event is raised",
|
|
|
|
"sensors.RemoteInfraredBeaconButton.wasPressed": "See if the remote button was pressed again since the last time you checked.",
|
|
|
|
"sensors.remoteButtonBottomLeft": "Remote bottom-left button.",
|
|
|
|
"sensors.remoteButtonBottomRight": "Remote bottom-right button.",
|
|
|
|
"sensors.remoteButtonCenter": "Remote beacon (center) button.",
|
|
|
|
"sensors.remoteButtonTopLeft": "Remote top-left button.",
|
|
|
|
"sensors.remoteButtonTopRight": "Remote top-right button."
|
|
|
|
}
|