node-poweredup 7.1.0 → 8.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/browser/poweredup.js +1 -1
- package/dist/browser/poweredup.js.map +1 -1
- package/dist/node/consts.d.ts +41 -24
- package/dist/node/consts.js +41 -24
- package/dist/node/consts.js.map +1 -1
- package/dist/node/devices/colordistancesensor.d.ts +11 -0
- package/dist/node/devices/colordistancesensor.js +93 -1
- package/dist/node/devices/colordistancesensor.js.map +1 -1
- package/dist/node/devices/device.js +2 -0
- package/dist/node/devices/device.js.map +1 -1
- package/dist/node/devices/technicmediumhubtiltsensor.d.ts +25 -1
- package/dist/node/devices/technicmediumhubtiltsensor.js +70 -2
- package/dist/node/devices/technicmediumhubtiltsensor.js.map +1 -1
- package/dist/node/hubs/lpf2hub.js +5 -4
- package/dist/node/hubs/lpf2hub.js.map +1 -1
- package/dist/node/poweredup-node.js +24 -1
- package/dist/node/poweredup-node.js.map +1 -1
- package/docs/AbsoluteMotor.html +1 -1
- package/docs/BaseHub.html +1 -1
- package/docs/BasicMotor.html +1 -1
- package/docs/ColorDistanceSensor.html +841 -53
- package/docs/CurrentSensor.html +1 -1
- package/docs/Device.html +1 -1
- package/docs/DuploTrainBase.html +1 -1
- package/docs/DuploTrainBaseColorSensor.html +1 -1
- package/docs/DuploTrainBaseMotor.html +1 -1
- package/docs/DuploTrainBaseSpeaker.html +1 -1
- package/docs/DuploTraniBaseSpeedometer.html +1 -1
- package/docs/Hub.html +1 -1
- package/docs/HubLED.html +1 -1
- package/docs/LPF2Hub.html +1 -1
- package/docs/Light.html +1 -1
- package/docs/Mario.html +1 -1
- package/docs/MarioAccelerometer.html +1 -1
- package/docs/MarioBarcodeSensor.html +1 -1
- package/docs/MarioPantsSensor.html +1 -1
- package/docs/MediumLinearMotor.html +1 -1
- package/docs/MotionSensor.html +1 -1
- package/docs/MoveHub.html +1 -1
- package/docs/MoveHubMediumLinearMotor.html +1 -1
- package/docs/MoveHubTiltSensor.html +1 -1
- package/docs/PiezoBuzzer.html +1 -1
- package/docs/PoweredUP.html +23 -23
- package/docs/RemoteControl.html +1 -1
- package/docs/RemoteControlButton.html +1 -1
- package/docs/SimpleMediumLinearMotor.html +1 -1
- package/docs/TachoMotor.html +1 -1
- package/docs/Technic3x3ColorLightMatrix.html +1 -1
- package/docs/TechnicColorSensor.html +1 -1
- package/docs/TechnicDistanceSensor.html +1 -1
- package/docs/TechnicForceSensor.html +1 -1
- package/docs/TechnicLargeAngularMotor.html +1 -1
- package/docs/TechnicLargeLinearMotor.html +1 -1
- package/docs/TechnicMediumAngularMotor.html +1 -1
- package/docs/TechnicMediumHub.html +1 -1
- package/docs/TechnicMediumHubAccelerometerSensor.html +1 -1
- package/docs/TechnicMediumHubGyroSensor.html +1 -1
- package/docs/TechnicMediumHubTiltSensor.html +590 -2
- package/docs/TechnicSmallAngularMotor.html +1 -1
- package/docs/TechnicXLargeLinearMotor.html +1 -1
- package/docs/TiltSensor.html +1 -1
- package/docs/TrainMotor.html +1 -1
- package/docs/VoltageSensor.html +1 -1
- package/docs/WeDo2SmartHub.html +1 -1
- package/docs/consts.js.html +42 -25
- package/docs/devices_absolutemotor.js.html +1 -1
- package/docs/devices_basicmotor.js.html +1 -1
- package/docs/devices_colordistancesensor.js.html +94 -2
- package/docs/devices_currentsensor.js.html +1 -1
- package/docs/devices_device.js.html +3 -1
- package/docs/devices_duplotrainbasecolorsensor.js.html +1 -1
- package/docs/devices_duplotrainbasemotor.js.html +1 -1
- package/docs/devices_duplotrainbasespeaker.js.html +1 -1
- package/docs/devices_duplotrainbasespeedometer.js.html +1 -1
- package/docs/devices_hubled.js.html +1 -1
- package/docs/devices_light.js.html +1 -1
- package/docs/devices_marioaccelerometer.js.html +1 -1
- package/docs/devices_mariobarcodesensor.js.html +1 -1
- package/docs/devices_mariopantssensor.js.html +1 -1
- package/docs/devices_mediumlinearmotor.js.html +1 -1
- package/docs/devices_motionsensor.js.html +1 -1
- package/docs/devices_movehubmediumlinearmotor.js.html +1 -1
- package/docs/devices_movehubtiltsensor.js.html +1 -1
- package/docs/devices_piezobuzzer.js.html +1 -1
- package/docs/devices_remotecontrolbutton.js.html +1 -1
- package/docs/devices_simplemediumlinearmotor.js.html +1 -1
- package/docs/devices_tachomotor.js.html +1 -1
- package/docs/devices_technic3x3colorlightmatrix.js.html +1 -1
- package/docs/devices_techniccolorsensor.js.html +1 -1
- package/docs/devices_technicdistancesensor.js.html +1 -1
- package/docs/devices_technicforcesensor.js.html +1 -1
- package/docs/devices_techniclargeangularmotor.js.html +1 -1
- package/docs/devices_techniclargelinearmotor.js.html +1 -1
- package/docs/devices_technicmediumangularmotor.js.html +1 -1
- package/docs/devices_technicmediumhubaccelerometersensor.js.html +1 -1
- package/docs/devices_technicmediumhubgyrosensor.js.html +1 -1
- package/docs/devices_technicmediumhubtiltsensor.js.html +71 -3
- package/docs/devices_technicsmallangularmotor.js.html +1 -1
- package/docs/devices_technicxlargelinearmotor.js.html +1 -1
- package/docs/devices_tiltsensor.js.html +1 -1
- package/docs/devices_trainmotor.js.html +1 -1
- package/docs/devices_voltagesensor.js.html +1 -1
- package/docs/global.html +541 -48
- package/docs/hubs_basehub.js.html +1 -1
- package/docs/hubs_duplotrainbase.js.html +1 -1
- package/docs/hubs_hub.js.html +1 -1
- package/docs/hubs_lpf2hub.js.html +6 -5
- package/docs/hubs_mario.js.html +1 -1
- package/docs/hubs_movehub.js.html +1 -1
- package/docs/hubs_remotecontrol.js.html +1 -1
- package/docs/hubs_technicmediumhub.js.html +1 -1
- package/docs/hubs_technicsmallhub.js.html +1 -1
- package/docs/hubs_wedo2smarthub.js.html +1 -1
- package/docs/index.html +35 -35
- package/docs/poweredup-browser.js.html +1 -1
- package/docs/poweredup-node.js.html +25 -2
- package/package.json +12 -12
- package/src/consts.ts +41 -24
- package/src/devices/colordistancesensor.ts +96 -2
- package/src/devices/device.ts +1 -0
- package/src/devices/technicmediumhubtiltsensor.ts +75 -3
- package/src/hubs/lpf2hub.ts +5 -6
- package/src/poweredup-node.ts +4 -1
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
<h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
|
|
76
|
+
<h3>Classes</h3><ul><li id="AbsoluteMotor-nav"><a href="AbsoluteMotor.html">AbsoluteMotor</a><ul class='methods'><li data-type="method" id="AbsoluteMotor-gotoAngle-nav"><a href="AbsoluteMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="AbsoluteMotor-gotoRealZero-nav"><a href="AbsoluteMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="AbsoluteMotor-resetZero-nav"><a href="AbsoluteMotor.html#resetZero">resetZero</a></li><li data-type="method" id="AbsoluteMotor-rotateByDegrees-nav"><a href="AbsoluteMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="AbsoluteMotor-setAccelerationTime-nav"><a href="AbsoluteMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setBrakingStyle-nav"><a href="AbsoluteMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="AbsoluteMotor-setDecelerationTime-nav"><a href="AbsoluteMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="AbsoluteMotor-setMaxPower-nav"><a href="AbsoluteMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="AbsoluteMotor-setSpeed-nav"><a href="AbsoluteMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="BaseHub-nav"><a href="BaseHub.html">BaseHub</a></li><li id="BasicMotor-nav"><a href="BasicMotor.html">BasicMotor</a><ul class='methods'><li data-type="method" id="BasicMotor-brake-nav"><a href="BasicMotor.html#brake">brake</a></li><li data-type="method" id="BasicMotor-rampPower-nav"><a href="BasicMotor.html#rampPower">rampPower</a></li><li data-type="method" id="BasicMotor-setPower-nav"><a href="BasicMotor.html#setPower">setPower</a></li><li data-type="method" id="BasicMotor-stop-nav"><a href="BasicMotor.html#stop">stop</a></li></ul></li><li id="ColorDistanceSensor-nav"><a href="ColorDistanceSensor.html">ColorDistanceSensor</a><ul class='methods'><li data-type="method" id="ColorDistanceSensor-sendPFIRMessage-nav"><a href="ColorDistanceSensor.html#sendPFIRMessage">sendPFIRMessage</a></li><li data-type="method" id="ColorDistanceSensor-setColor-nav"><a href="ColorDistanceSensor.html#setColor">setColor</a></li><li data-type="method" id="ColorDistanceSensor-setDistanceCount-nav"><a href="ColorDistanceSensor.html#setDistanceCount">setDistanceCount</a></li><li data-type="method" id="ColorDistanceSensor-setPFExtendedChannel-nav"><a href="ColorDistanceSensor.html#setPFExtendedChannel">setPFExtendedChannel</a></li><li data-type="method" id="ColorDistanceSensor-setPFPower-nav"><a href="ColorDistanceSensor.html#setPFPower">setPFPower</a></li><li data-type="method" id="ColorDistanceSensor-startPFMotors-nav"><a href="ColorDistanceSensor.html#startPFMotors">startPFMotors</a></li></ul></li><li id="CurrentSensor-nav"><a href="CurrentSensor.html">CurrentSensor</a></li><li id="Device-nav"><a href="Device.html">Device</a></li><li id="DuploTrainBase-nav"><a href="DuploTrainBase.html">DuploTrainBase</a><ul class='methods'><li data-type="method" id="DuploTrainBase-createVirtualPort-nav"><a href="DuploTrainBase.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="DuploTrainBase-setName-nav"><a href="DuploTrainBase.html#setName">setName</a></li><li data-type="method" id="DuploTrainBase-shutdown-nav"><a href="DuploTrainBase.html#shutdown">shutdown</a></li></ul></li><li id="DuploTrainBaseColorSensor-nav"><a href="DuploTrainBaseColorSensor.html">DuploTrainBaseColorSensor</a></li><li id="DuploTrainBaseMotor-nav"><a href="DuploTrainBaseMotor.html">DuploTrainBaseMotor</a><ul class='methods'><li data-type="method" id="DuploTrainBaseMotor-brake-nav"><a href="DuploTrainBaseMotor.html#brake">brake</a></li><li data-type="method" id="DuploTrainBaseMotor-rampPower-nav"><a href="DuploTrainBaseMotor.html#rampPower">rampPower</a></li><li data-type="method" id="DuploTrainBaseMotor-setPower-nav"><a href="DuploTrainBaseMotor.html#setPower">setPower</a></li><li data-type="method" id="DuploTrainBaseMotor-stop-nav"><a href="DuploTrainBaseMotor.html#stop">stop</a></li></ul></li><li id="DuploTrainBaseSpeaker-nav"><a href="DuploTrainBaseSpeaker.html">DuploTrainBaseSpeaker</a><ul class='methods'><li data-type="method" id="DuploTrainBaseSpeaker-playSound-nav"><a href="DuploTrainBaseSpeaker.html#playSound">playSound</a></li><li data-type="method" id="DuploTrainBaseSpeaker-playTone-nav"><a href="DuploTrainBaseSpeaker.html#playTone">playTone</a></li></ul></li><li id="DuploTraniBaseSpeedometer-nav"><a href="DuploTraniBaseSpeedometer.html">DuploTraniBaseSpeedometer</a></li><li id="Hub-nav"><a href="Hub.html">Hub</a><ul class='methods'><li data-type="method" id="Hub-connect-nav"><a href="Hub.html#connect">connect</a></li><li data-type="method" id="Hub-createVirtualPort-nav"><a href="Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Hub-disconnect-nav"><a href="Hub.html#disconnect">disconnect</a></li><li data-type="method" id="Hub-getDeviceAtPort-nav"><a href="Hub.html#getDeviceAtPort">getDeviceAtPort</a></li><li data-type="method" id="Hub-getDevices-nav"><a href="Hub.html#getDevices">getDevices</a></li><li data-type="method" id="Hub-getDevicesByType-nav"><a href="Hub.html#getDevicesByType">getDevicesByType</a></li><li data-type="method" id="Hub-setName-nav"><a href="Hub.html#setName">setName</a></li><li data-type="method" id="Hub-shutdown-nav"><a href="Hub.html#shutdown">shutdown</a></li><li data-type="method" id="Hub-sleep-nav"><a href="Hub.html#sleep">sleep</a></li><li data-type="method" id="Hub-wait-nav"><a href="Hub.html#wait">wait</a></li><li data-type="method" id="Hub-waitForDeviceAtPort-nav"><a href="Hub.html#waitForDeviceAtPort">waitForDeviceAtPort</a></li><li data-type="method" id="Hub-waitForDeviceByType-nav"><a href="Hub.html#waitForDeviceByType">waitForDeviceByType</a></li></ul></li><li id="HubLED-nav"><a href="HubLED.html">HubLED</a><ul class='methods'><li data-type="method" id="HubLED-setColor-nav"><a href="HubLED.html#setColor">setColor</a></li><li data-type="method" id="HubLED-setRGB-nav"><a href="HubLED.html#setRGB">setRGB</a></li></ul></li><li id="Light-nav"><a href="Light.html">Light</a><ul class='methods'><li data-type="method" id="Light-rampBrightness-nav"><a href="Light.html#rampBrightness">rampBrightness</a></li><li data-type="method" id="Light-setBrightness-nav"><a href="Light.html#setBrightness">setBrightness</a></li></ul></li><li id="LPF2Hub-nav"><a href="LPF2Hub.html">LPF2Hub</a><ul class='methods'><li data-type="method" id="LPF2Hub-createVirtualPort-nav"><a href="LPF2Hub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="LPF2Hub-setName-nav"><a href="LPF2Hub.html#setName">setName</a></li><li data-type="method" id="LPF2Hub-shutdown-nav"><a href="LPF2Hub.html#shutdown">shutdown</a></li></ul></li><li id="Mario-nav"><a href="Mario.html">Mario</a><ul class='methods'><li data-type="method" id="Mario-createVirtualPort-nav"><a href="Mario.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="Mario-setName-nav"><a href="Mario.html#setName">setName</a></li><li data-type="method" id="Mario-shutdown-nav"><a href="Mario.html#shutdown">shutdown</a></li></ul></li><li id="MarioAccelerometer-nav"><a href="MarioAccelerometer.html">MarioAccelerometer</a></li><li id="MarioBarcodeSensor-nav"><a href="MarioBarcodeSensor.html">MarioBarcodeSensor</a></li><li id="MarioPantsSensor-nav"><a href="MarioPantsSensor.html">MarioPantsSensor</a></li><li id="MediumLinearMotor-nav"><a href="MediumLinearMotor.html">MediumLinearMotor</a><ul class='methods'><li data-type="method" id="MediumLinearMotor-rotateByDegrees-nav"><a href="MediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MediumLinearMotor-setAccelerationTime-nav"><a href="MediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setBrakingStyle-nav"><a href="MediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MediumLinearMotor-setDecelerationTime-nav"><a href="MediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MediumLinearMotor-setMaxPower-nav"><a href="MediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MediumLinearMotor-setSpeed-nav"><a href="MediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MotionSensor-nav"><a href="MotionSensor.html">MotionSensor</a></li><li id="MoveHub-nav"><a href="MoveHub.html">MoveHub</a><ul class='methods'><li data-type="method" id="MoveHub-createVirtualPort-nav"><a href="MoveHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="MoveHub-setName-nav"><a href="MoveHub.html#setName">setName</a></li><li data-type="method" id="MoveHub-shutdown-nav"><a href="MoveHub.html#shutdown">shutdown</a></li></ul></li><li id="MoveHubMediumLinearMotor-nav"><a href="MoveHubMediumLinearMotor.html">MoveHubMediumLinearMotor</a><ul class='methods'><li data-type="method" id="MoveHubMediumLinearMotor-rotateByDegrees-nav"><a href="MoveHubMediumLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setAccelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setBrakingStyle-nav"><a href="MoveHubMediumLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setDecelerationTime-nav"><a href="MoveHubMediumLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setMaxPower-nav"><a href="MoveHubMediumLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="MoveHubMediumLinearMotor-setSpeed-nav"><a href="MoveHubMediumLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="MoveHubTiltSensor-nav"><a href="MoveHubTiltSensor.html">MoveHubTiltSensor</a></li><li id="PiezoBuzzer-nav"><a href="PiezoBuzzer.html">PiezoBuzzer</a><ul class='methods'><li data-type="method" id="PiezoBuzzer-playTone-nav"><a href="PiezoBuzzer.html#playTone">playTone</a></li></ul></li><li id="PoweredUP-nav"><a href="PoweredUP.html">PoweredUP</a><ul class='methods'><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByPrimaryMACAddress-nav"><a href="PoweredUP.html#getHubByPrimaryMACAddress">getHubByPrimaryMACAddress</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubByUUID-nav"><a href="PoweredUP.html#getHubByUUID">getHubByUUID</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubs-nav"><a href="PoweredUP.html#getHubs">getHubs</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByName-nav"><a href="PoweredUP.html#getHubsByName">getHubsByName</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-getHubsByType-nav"><a href="PoweredUP.html#getHubsByType">getHubsByType</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-scan-nav"><a href="PoweredUP.html#scan">scan</a></li><li data-type="method" id="PoweredUP-stop-nav"><a href="PoweredUP.html#stop">stop</a></li></ul></li><li id="RemoteControl-nav"><a href="RemoteControl.html">RemoteControl</a><ul class='methods'><li data-type="method" id="RemoteControl-createVirtualPort-nav"><a href="RemoteControl.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="RemoteControl-setName-nav"><a href="RemoteControl.html#setName">setName</a></li><li data-type="method" id="RemoteControl-shutdown-nav"><a href="RemoteControl.html#shutdown">shutdown</a></li></ul></li><li id="RemoteControlButton-nav"><a href="RemoteControlButton.html">RemoteControlButton</a></li><li id="SimpleMediumLinearMotor-nav"><a href="SimpleMediumLinearMotor.html">SimpleMediumLinearMotor</a></li><li id="TachoMotor-nav"><a href="TachoMotor.html">TachoMotor</a><ul class='methods'><li data-type="method" id="TachoMotor-brake-nav"><a href="TachoMotor.html#brake">brake</a></li><li data-type="method" id="TachoMotor-rampPower-nav"><a href="TachoMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TachoMotor-rotateByDegrees-nav"><a href="TachoMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TachoMotor-setAccelerationTime-nav"><a href="TachoMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TachoMotor-setBrakingStyle-nav"><a href="TachoMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TachoMotor-setDecelerationTime-nav"><a href="TachoMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TachoMotor-setMaxPower-nav"><a href="TachoMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TachoMotor-setPower-nav"><a href="TachoMotor.html#setPower">setPower</a></li><li data-type="method" id="TachoMotor-setSpeed-nav"><a href="TachoMotor.html#setSpeed">setSpeed</a></li><li data-type="method" id="TachoMotor-stop-nav"><a href="TachoMotor.html#stop">stop</a></li></ul></li><li id="Technic3x3ColorLightMatrix-nav"><a href="Technic3x3ColorLightMatrix.html">Technic3x3ColorLightMatrix</a><ul class='methods'><li data-type="method" id="Technic3x3ColorLightMatrix-setMatrix-nav"><a href="Technic3x3ColorLightMatrix.html#setMatrix">setMatrix</a></li></ul></li><li id="TechnicColorSensor-nav"><a href="TechnicColorSensor.html">TechnicColorSensor</a><ul class='methods'><li data-type="method" id="TechnicColorSensor-setBrightness-nav"><a href="TechnicColorSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicDistanceSensor-nav"><a href="TechnicDistanceSensor.html">TechnicDistanceSensor</a><ul class='methods'><li data-type="method" id="TechnicDistanceSensor-setBrightness-nav"><a href="TechnicDistanceSensor.html#setBrightness">setBrightness</a></li></ul></li><li id="TechnicForceSensor-nav"><a href="TechnicForceSensor.html">TechnicForceSensor</a></li><li id="TechnicLargeAngularMotor-nav"><a href="TechnicLargeAngularMotor.html">TechnicLargeAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeAngularMotor-gotoAngle-nav"><a href="TechnicLargeAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeAngularMotor-gotoRealZero-nav"><a href="TechnicLargeAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-resetZero-nav"><a href="TechnicLargeAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeAngularMotor-rotateByDegrees-nav"><a href="TechnicLargeAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeAngularMotor-setAccelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setBrakingStyle-nav"><a href="TechnicLargeAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeAngularMotor-setDecelerationTime-nav"><a href="TechnicLargeAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeAngularMotor-setMaxPower-nav"><a href="TechnicLargeAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeAngularMotor-setSpeed-nav"><a href="TechnicLargeAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicLargeLinearMotor-nav"><a href="TechnicLargeLinearMotor.html">TechnicLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicLargeLinearMotor-gotoAngle-nav"><a href="TechnicLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicLargeLinearMotor-gotoRealZero-nav"><a href="TechnicLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-resetZero-nav"><a href="TechnicLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicLargeLinearMotor-setMaxPower-nav"><a href="TechnicLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicLargeLinearMotor-setSpeed-nav"><a href="TechnicLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumAngularMotor-nav"><a href="TechnicMediumAngularMotor.html">TechnicMediumAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicMediumAngularMotor-gotoAngle-nav"><a href="TechnicMediumAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicMediumAngularMotor-gotoRealZero-nav"><a href="TechnicMediumAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-resetZero-nav"><a href="TechnicMediumAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicMediumAngularMotor-rotateByDegrees-nav"><a href="TechnicMediumAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicMediumAngularMotor-setAccelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setBrakingStyle-nav"><a href="TechnicMediumAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicMediumAngularMotor-setDecelerationTime-nav"><a href="TechnicMediumAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicMediumAngularMotor-setMaxPower-nav"><a href="TechnicMediumAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicMediumAngularMotor-setSpeed-nav"><a href="TechnicMediumAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicMediumHub-nav"><a href="TechnicMediumHub.html">TechnicMediumHub</a><ul class='methods'><li data-type="method" id="TechnicMediumHub-createVirtualPort-nav"><a href="TechnicMediumHub.html#createVirtualPort">createVirtualPort</a></li><li data-type="method" id="TechnicMediumHub-setName-nav"><a href="TechnicMediumHub.html#setName">setName</a></li><li data-type="method" id="TechnicMediumHub-shutdown-nav"><a href="TechnicMediumHub.html#shutdown">shutdown</a></li></ul></li><li id="TechnicMediumHubAccelerometerSensor-nav"><a href="TechnicMediumHubAccelerometerSensor.html">TechnicMediumHubAccelerometerSensor</a></li><li id="TechnicMediumHubGyroSensor-nav"><a href="TechnicMediumHubGyroSensor.html">TechnicMediumHubGyroSensor</a></li><li id="TechnicMediumHubTiltSensor-nav"><a href="TechnicMediumHubTiltSensor.html">TechnicMediumHubTiltSensor</a><ul class='methods'><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactCount-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactCount">setImpactCount</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactHoldoff-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactHoldoff">setImpactHoldoff</a></li><li data-type="method" id="TechnicMediumHubTiltSensor-setImpactThreshold-nav"><a href="TechnicMediumHubTiltSensor.html#setImpactThreshold">setImpactThreshold</a></li></ul></li><li id="TechnicSmallAngularMotor-nav"><a href="TechnicSmallAngularMotor.html">TechnicSmallAngularMotor</a><ul class='methods'><li data-type="method" id="TechnicSmallAngularMotor-gotoAngle-nav"><a href="TechnicSmallAngularMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicSmallAngularMotor-gotoRealZero-nav"><a href="TechnicSmallAngularMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-resetZero-nav"><a href="TechnicSmallAngularMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicSmallAngularMotor-rotateByDegrees-nav"><a href="TechnicSmallAngularMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicSmallAngularMotor-setAccelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setBrakingStyle-nav"><a href="TechnicSmallAngularMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicSmallAngularMotor-setDecelerationTime-nav"><a href="TechnicSmallAngularMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicSmallAngularMotor-setMaxPower-nav"><a href="TechnicSmallAngularMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicSmallAngularMotor-setSpeed-nav"><a href="TechnicSmallAngularMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TechnicXLargeLinearMotor-nav"><a href="TechnicXLargeLinearMotor.html">TechnicXLargeLinearMotor</a><ul class='methods'><li data-type="method" id="TechnicXLargeLinearMotor-gotoAngle-nav"><a href="TechnicXLargeLinearMotor.html#gotoAngle">gotoAngle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-gotoRealZero-nav"><a href="TechnicXLargeLinearMotor.html#gotoRealZero">gotoRealZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-resetZero-nav"><a href="TechnicXLargeLinearMotor.html#resetZero">resetZero</a></li><li data-type="method" id="TechnicXLargeLinearMotor-rotateByDegrees-nav"><a href="TechnicXLargeLinearMotor.html#rotateByDegrees">rotateByDegrees</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setAccelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setAccelerationTime">setAccelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setBrakingStyle-nav"><a href="TechnicXLargeLinearMotor.html#setBrakingStyle">setBrakingStyle</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setDecelerationTime-nav"><a href="TechnicXLargeLinearMotor.html#setDecelerationTime">setDecelerationTime</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setMaxPower-nav"><a href="TechnicXLargeLinearMotor.html#setMaxPower">setMaxPower</a></li><li data-type="method" id="TechnicXLargeLinearMotor-setSpeed-nav"><a href="TechnicXLargeLinearMotor.html#setSpeed">setSpeed</a></li></ul></li><li id="TiltSensor-nav"><a href="TiltSensor.html">TiltSensor</a></li><li id="TrainMotor-nav"><a href="TrainMotor.html">TrainMotor</a><ul class='methods'><li data-type="method" id="TrainMotor-brake-nav"><a href="TrainMotor.html#brake">brake</a></li><li data-type="method" id="TrainMotor-rampPower-nav"><a href="TrainMotor.html#rampPower">rampPower</a></li><li data-type="method" id="TrainMotor-setPower-nav"><a href="TrainMotor.html#setPower">setPower</a></li><li data-type="method" id="TrainMotor-stop-nav"><a href="TrainMotor.html#stop">stop</a></li></ul></li><li id="VoltageSensor-nav"><a href="VoltageSensor.html">VoltageSensor</a></li><li id="WeDo2SmartHub-nav"><a href="WeDo2SmartHub.html">WeDo2SmartHub</a><ul class='methods'><li data-type="method" id="WeDo2SmartHub-setName-nav"><a href="WeDo2SmartHub.html#setName">setName</a></li><li data-type="method" id="WeDo2SmartHub-shutdown-nav"><a href="WeDo2SmartHub.html#shutdown">shutdown</a></li></ul></li></ul><h3 id="global-nav"><a href="global.html">Global</a></h3>
|
|
77
77
|
</nav>
|
|
78
78
|
|
|
79
79
|
<div id="main">
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
<dd class="tag-source">
|
|
1121
1121
|
<ul class="dummy">
|
|
1122
1122
|
<li>
|
|
1123
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
1123
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line217">line 217</a>
|
|
1124
1124
|
</li>
|
|
1125
1125
|
</ul>
|
|
1126
1126
|
</dd>
|
|
@@ -1266,7 +1266,153 @@
|
|
|
1266
1266
|
<dd class="tag-source">
|
|
1267
1267
|
<ul class="dummy">
|
|
1268
1268
|
<li>
|
|
1269
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
1269
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line235">line 235</a>
|
|
1270
|
+
</li>
|
|
1271
|
+
</ul>
|
|
1272
|
+
</dd>
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
</dl>
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
<span class='name-container'>
|
|
1302
|
+
<a class="link-icon" href="#setDistanceCount">
|
|
1303
|
+
<svg height="20" width="20" style="fill: black;">
|
|
1304
|
+
<use xlink:href="#linkIcon"></use>
|
|
1305
|
+
</svg>
|
|
1306
|
+
</a>
|
|
1307
|
+
<h4 class="name" id="setDistanceCount">
|
|
1308
|
+
<span class="type-signature"></span>setDistanceCount<span class="signature">(distance)</span><span class="type-signature"> → {Promise}</span>
|
|
1309
|
+
</h4>
|
|
1310
|
+
</span>
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
<div class="description">
|
|
1317
|
+
<p>Set the distance count value.</p>
|
|
1318
|
+
</div>
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
|
|
1324
|
+
|
|
1325
|
+
|
|
1326
|
+
<h5>Parameters:</h5>
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
<table class="params">
|
|
1330
|
+
<thead>
|
|
1331
|
+
<tr>
|
|
1332
|
+
|
|
1333
|
+
<th>Name</th>
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
<th>Type</th>
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
|
|
1341
|
+
|
|
1342
|
+
<th class="last">Description</th>
|
|
1343
|
+
</tr>
|
|
1344
|
+
</thead>
|
|
1345
|
+
|
|
1346
|
+
<tbody>
|
|
1347
|
+
|
|
1348
|
+
<tr>
|
|
1349
|
+
|
|
1350
|
+
<td class="name"><code>distance</code></td>
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
<td class="type">
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
<span class="param-type">
|
|
1357
|
+
count
|
|
1358
|
+
</span>
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
</td>
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
<td class="description last">
|
|
1371
|
+
<p>count between 0 and 2^32</p>
|
|
1372
|
+
|
|
1373
|
+
</td>
|
|
1374
|
+
</tr>
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
</tbody>
|
|
1378
|
+
</table>
|
|
1379
|
+
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
|
|
1383
|
+
|
|
1384
|
+
<dl class="details">
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
|
|
1395
|
+
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
|
|
1411
|
+
<dt class="tag-source">Source:</dt>
|
|
1412
|
+
<dd class="tag-source">
|
|
1413
|
+
<ul class="dummy">
|
|
1414
|
+
<li>
|
|
1415
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line256">line 256</a>
|
|
1270
1416
|
</li>
|
|
1271
1417
|
</ul>
|
|
1272
1418
|
</dd>
|
|
@@ -1413,7 +1559,7 @@
|
|
|
1413
1559
|
<dd class="tag-source">
|
|
1414
1560
|
<ul class="dummy">
|
|
1415
1561
|
<li>
|
|
1416
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
1562
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line155">line 155</a>
|
|
1417
1563
|
</li>
|
|
1418
1564
|
</ul>
|
|
1419
1565
|
</dd>
|
|
@@ -1617,7 +1763,7 @@
|
|
|
1617
1763
|
<dd class="tag-source">
|
|
1618
1764
|
<ul class="dummy">
|
|
1619
1765
|
<li>
|
|
1620
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
1766
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line175">line 175</a>
|
|
1621
1767
|
</li>
|
|
1622
1768
|
</ul>
|
|
1623
1769
|
</dd>
|
|
@@ -1822,7 +1968,7 @@
|
|
|
1822
1968
|
<dd class="tag-source">
|
|
1823
1969
|
<ul class="dummy">
|
|
1824
1970
|
<li>
|
|
1825
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
1971
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line195">line 195</a>
|
|
1826
1972
|
</li>
|
|
1827
1973
|
</ul>
|
|
1828
1974
|
</dd>
|
|
@@ -1863,13 +2009,13 @@
|
|
|
1863
2009
|
|
|
1864
2010
|
|
|
1865
2011
|
<span class='name-container'>
|
|
1866
|
-
<a class="link-icon" href="#event:
|
|
2012
|
+
<a class="link-icon" href="#event:ambient">
|
|
1867
2013
|
<svg height="20" width="20" style="fill: black;">
|
|
1868
2014
|
<use xlink:href="#linkIcon"></use>
|
|
1869
2015
|
</svg>
|
|
1870
2016
|
</a>
|
|
1871
|
-
<h4 class="name" id="event:
|
|
1872
|
-
<span class="type-signature"></span>
|
|
2017
|
+
<h4 class="name" id="event:ambient">
|
|
2018
|
+
<span class="type-signature"></span>ambient<span class="type-signature"> :object</span>
|
|
1873
2019
|
</h4>
|
|
1874
2020
|
</span>
|
|
1875
2021
|
|
|
@@ -1878,7 +2024,7 @@
|
|
|
1878
2024
|
|
|
1879
2025
|
|
|
1880
2026
|
<div class="description">
|
|
1881
|
-
<p>
|
|
2027
|
+
<p>Event measuring abient light change, emits when the sensor is activated.</p>
|
|
1882
2028
|
</div>
|
|
1883
2029
|
|
|
1884
2030
|
|
|
@@ -1911,14 +2057,14 @@
|
|
|
1911
2057
|
|
|
1912
2058
|
<tr>
|
|
1913
2059
|
|
|
1914
|
-
<td class="name"><code>
|
|
2060
|
+
<td class="name"><code>percentage</code></td>
|
|
1915
2061
|
|
|
1916
2062
|
|
|
1917
2063
|
<td class="type">
|
|
1918
2064
|
|
|
1919
2065
|
|
|
1920
2066
|
<span class="param-type">
|
|
1921
|
-
|
|
2067
|
+
number
|
|
1922
2068
|
</span>
|
|
1923
2069
|
|
|
1924
2070
|
|
|
@@ -1932,7 +2078,7 @@
|
|
|
1932
2078
|
|
|
1933
2079
|
|
|
1934
2080
|
<td class="description last">
|
|
1935
|
-
|
|
2081
|
+
<p>from 0 to 100.</p>
|
|
1936
2082
|
|
|
1937
2083
|
</td>
|
|
1938
2084
|
</tr>
|
|
@@ -1976,7 +2122,7 @@
|
|
|
1976
2122
|
<dd class="tag-source">
|
|
1977
2123
|
<ul class="dummy">
|
|
1978
2124
|
<li>
|
|
1979
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
2125
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line102">line 102</a>
|
|
1980
2126
|
</li>
|
|
1981
2127
|
</ul>
|
|
1982
2128
|
</dd>
|
|
@@ -2009,13 +2155,13 @@
|
|
|
2009
2155
|
|
|
2010
2156
|
|
|
2011
2157
|
<span class='name-container'>
|
|
2012
|
-
<a class="link-icon" href="#event:
|
|
2158
|
+
<a class="link-icon" href="#event:color">
|
|
2013
2159
|
<svg height="20" width="20" style="fill: black;">
|
|
2014
2160
|
<use xlink:href="#linkIcon"></use>
|
|
2015
2161
|
</svg>
|
|
2016
2162
|
</a>
|
|
2017
|
-
<h4 class="name" id="event:
|
|
2018
|
-
<span class="type-signature"></span>
|
|
2163
|
+
<h4 class="name" id="event:color">
|
|
2164
|
+
<span class="type-signature"></span>color<span class="type-signature"> :object</span>
|
|
2019
2165
|
</h4>
|
|
2020
2166
|
</span>
|
|
2021
2167
|
|
|
@@ -2024,7 +2170,7 @@
|
|
|
2024
2170
|
|
|
2025
2171
|
|
|
2026
2172
|
<div class="description">
|
|
2027
|
-
<p>
|
|
2173
|
+
<p>Emits when a color sensor is activated.</p>
|
|
2028
2174
|
</div>
|
|
2029
2175
|
|
|
2030
2176
|
|
|
@@ -2084,35 +2230,6 @@
|
|
|
2084
2230
|
</tr>
|
|
2085
2231
|
|
|
2086
2232
|
|
|
2087
|
-
<tr>
|
|
2088
|
-
|
|
2089
|
-
<td class="name"><code>distance</code></td>
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
<td class="type">
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
<span class="param-type">
|
|
2096
|
-
number
|
|
2097
|
-
</span>
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
</td>
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
<td class="description last">
|
|
2110
|
-
<p>Distance, in millimeters.</p>
|
|
2111
|
-
|
|
2112
|
-
</td>
|
|
2113
|
-
</tr>
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
2233
|
</tbody>
|
|
2117
2234
|
</table>
|
|
2118
2235
|
|
|
@@ -2151,7 +2268,7 @@
|
|
|
2151
2268
|
<dd class="tag-source">
|
|
2152
2269
|
<ul class="dummy">
|
|
2153
2270
|
<li>
|
|
2154
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
2271
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line40">line 40</a>
|
|
2155
2272
|
</li>
|
|
2156
2273
|
</ul>
|
|
2157
2274
|
</dd>
|
|
@@ -2184,13 +2301,13 @@
|
|
|
2184
2301
|
|
|
2185
2302
|
|
|
2186
2303
|
<span class='name-container'>
|
|
2187
|
-
<a class="link-icon" href="#event:
|
|
2304
|
+
<a class="link-icon" href="#event:colorAndDistance">
|
|
2188
2305
|
<svg height="20" width="20" style="fill: black;">
|
|
2189
2306
|
<use xlink:href="#linkIcon"></use>
|
|
2190
2307
|
</svg>
|
|
2191
2308
|
</a>
|
|
2192
|
-
<h4 class="name" id="event:
|
|
2193
|
-
<span class="type-signature"></span>
|
|
2309
|
+
<h4 class="name" id="event:colorAndDistance">
|
|
2310
|
+
<span class="type-signature"></span>colorAndDistance<span class="type-signature"> :object</span>
|
|
2194
2311
|
</h4>
|
|
2195
2312
|
</span>
|
|
2196
2313
|
|
|
@@ -2199,7 +2316,7 @@
|
|
|
2199
2316
|
|
|
2200
2317
|
|
|
2201
2318
|
<div class="description">
|
|
2202
|
-
<p>
|
|
2319
|
+
<p>A combined color and distance event, emits when the sensor is activated.</p>
|
|
2203
2320
|
</div>
|
|
2204
2321
|
|
|
2205
2322
|
|
|
@@ -2230,6 +2347,35 @@
|
|
|
2230
2347
|
|
|
2231
2348
|
<tbody>
|
|
2232
2349
|
|
|
2350
|
+
<tr>
|
|
2351
|
+
|
|
2352
|
+
<td class="name"><code>color</code></td>
|
|
2353
|
+
|
|
2354
|
+
|
|
2355
|
+
<td class="type">
|
|
2356
|
+
|
|
2357
|
+
|
|
2358
|
+
<span class="param-type">
|
|
2359
|
+
<a href="global.html#Color">Color</a>
|
|
2360
|
+
</span>
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
</td>
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
|
|
2370
|
+
|
|
2371
|
+
|
|
2372
|
+
<td class="description last">
|
|
2373
|
+
|
|
2374
|
+
|
|
2375
|
+
</td>
|
|
2376
|
+
</tr>
|
|
2377
|
+
|
|
2378
|
+
|
|
2233
2379
|
<tr>
|
|
2234
2380
|
|
|
2235
2381
|
<td class="name"><code>distance</code></td>
|
|
@@ -2297,7 +2443,649 @@
|
|
|
2297
2443
|
<dd class="tag-source">
|
|
2298
2444
|
<ul class="dummy">
|
|
2299
2445
|
<li>
|
|
2300
|
-
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#
|
|
2446
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line141">line 141</a>
|
|
2447
|
+
</li>
|
|
2448
|
+
</ul>
|
|
2449
|
+
</dd>
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
</dl>
|
|
2458
|
+
|
|
2459
|
+
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
|
|
2463
|
+
|
|
2464
|
+
|
|
2465
|
+
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
|
|
2475
|
+
|
|
2476
|
+
|
|
2477
|
+
|
|
2478
|
+
<span class='name-container'>
|
|
2479
|
+
<a class="link-icon" href="#event:distance">
|
|
2480
|
+
<svg height="20" width="20" style="fill: black;">
|
|
2481
|
+
<use xlink:href="#linkIcon"></use>
|
|
2482
|
+
</svg>
|
|
2483
|
+
</a>
|
|
2484
|
+
<h4 class="name" id="event:distance">
|
|
2485
|
+
<span class="type-signature"></span>distance<span class="type-signature"> :object</span>
|
|
2486
|
+
</h4>
|
|
2487
|
+
</span>
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
|
|
2492
|
+
|
|
2493
|
+
<div class="description">
|
|
2494
|
+
<p>Emits when a distance sensor is activated.</p>
|
|
2495
|
+
</div>
|
|
2496
|
+
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
<h5>Parameters:</h5>
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
<table class="params">
|
|
2507
|
+
<thead>
|
|
2508
|
+
<tr>
|
|
2509
|
+
|
|
2510
|
+
<th>Name</th>
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
<th>Type</th>
|
|
2514
|
+
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
<th class="last">Description</th>
|
|
2520
|
+
</tr>
|
|
2521
|
+
</thead>
|
|
2522
|
+
|
|
2523
|
+
<tbody>
|
|
2524
|
+
|
|
2525
|
+
<tr>
|
|
2526
|
+
|
|
2527
|
+
<td class="name"><code>distance</code></td>
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
<td class="type">
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
<span class="param-type">
|
|
2534
|
+
number
|
|
2535
|
+
</span>
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
</td>
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
<td class="description last">
|
|
2548
|
+
<p>Distance, in millimeters.</p>
|
|
2549
|
+
|
|
2550
|
+
</td>
|
|
2551
|
+
</tr>
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
</tbody>
|
|
2555
|
+
</table>
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
<dl class="details">
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
<dt class="tag-source">Source:</dt>
|
|
2589
|
+
<dd class="tag-source">
|
|
2590
|
+
<ul class="dummy">
|
|
2591
|
+
<li>
|
|
2592
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line58">line 58</a>
|
|
2593
|
+
</li>
|
|
2594
|
+
</ul>
|
|
2595
|
+
</dd>
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
</dl>
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
<span class='name-container'>
|
|
2625
|
+
<a class="link-icon" href="#event:distanceCount">
|
|
2626
|
+
<svg height="20" width="20" style="fill: black;">
|
|
2627
|
+
<use xlink:href="#linkIcon"></use>
|
|
2628
|
+
</svg>
|
|
2629
|
+
</a>
|
|
2630
|
+
<h4 class="name" id="event:distanceCount">
|
|
2631
|
+
<span class="type-signature"></span>distanceCount<span class="type-signature"> :object</span>
|
|
2632
|
+
</h4>
|
|
2633
|
+
</span>
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
<div class="description">
|
|
2640
|
+
<p>Emits when distance is reduced to less than 10 centimeters.</p>
|
|
2641
|
+
</div>
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
<h5>Parameters:</h5>
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
<table class="params">
|
|
2653
|
+
<thead>
|
|
2654
|
+
<tr>
|
|
2655
|
+
|
|
2656
|
+
<th>Name</th>
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
<th>Type</th>
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
<th class="last">Description</th>
|
|
2666
|
+
</tr>
|
|
2667
|
+
</thead>
|
|
2668
|
+
|
|
2669
|
+
<tbody>
|
|
2670
|
+
|
|
2671
|
+
<tr>
|
|
2672
|
+
|
|
2673
|
+
<td class="name"><code>number</code></td>
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
<td class="type">
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
<span class="param-type">
|
|
2680
|
+
number
|
|
2681
|
+
</span>
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
</td>
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
<td class="description last">
|
|
2694
|
+
<p>of distance events.</p>
|
|
2695
|
+
|
|
2696
|
+
</td>
|
|
2697
|
+
</tr>
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
</tbody>
|
|
2701
|
+
</table>
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
<dl class="details">
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
<dt class="tag-source">Source:</dt>
|
|
2735
|
+
<dd class="tag-source">
|
|
2736
|
+
<ul class="dummy">
|
|
2737
|
+
<li>
|
|
2738
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line76">line 76</a>
|
|
2739
|
+
</li>
|
|
2740
|
+
</ul>
|
|
2741
|
+
</dd>
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
</dl>
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
<span class='name-container'>
|
|
2771
|
+
<a class="link-icon" href="#event:reflect">
|
|
2772
|
+
<svg height="20" width="20" style="fill: black;">
|
|
2773
|
+
<use xlink:href="#linkIcon"></use>
|
|
2774
|
+
</svg>
|
|
2775
|
+
</a>
|
|
2776
|
+
<h4 class="name" id="event:reflect">
|
|
2777
|
+
<span class="type-signature"></span>reflect<span class="type-signature"> :object</span>
|
|
2778
|
+
</h4>
|
|
2779
|
+
</span>
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
<div class="description">
|
|
2786
|
+
<p>Event measuring reflection change, emits when the sensor is activated.</p>
|
|
2787
|
+
</div>
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
<h5>Parameters:</h5>
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
<table class="params">
|
|
2799
|
+
<thead>
|
|
2800
|
+
<tr>
|
|
2801
|
+
|
|
2802
|
+
<th>Name</th>
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
<th>Type</th>
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
<th class="last">Description</th>
|
|
2812
|
+
</tr>
|
|
2813
|
+
</thead>
|
|
2814
|
+
|
|
2815
|
+
<tbody>
|
|
2816
|
+
|
|
2817
|
+
<tr>
|
|
2818
|
+
|
|
2819
|
+
<td class="name"><code>percentage</code></td>
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
<td class="type">
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
<span class="param-type">
|
|
2826
|
+
number
|
|
2827
|
+
</span>
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
</td>
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
<td class="description last">
|
|
2840
|
+
<p>from 0 to 100.</p>
|
|
2841
|
+
|
|
2842
|
+
</td>
|
|
2843
|
+
</tr>
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
</tbody>
|
|
2847
|
+
</table>
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
<dl class="details">
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
<dt class="tag-source">Source:</dt>
|
|
2881
|
+
<dd class="tag-source">
|
|
2882
|
+
<ul class="dummy">
|
|
2883
|
+
<li>
|
|
2884
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line89">line 89</a>
|
|
2885
|
+
</li>
|
|
2886
|
+
</ul>
|
|
2887
|
+
</dd>
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
</dl>
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
<span class='name-container'>
|
|
2917
|
+
<a class="link-icon" href="#event:rgbIntensity">
|
|
2918
|
+
<svg height="20" width="20" style="fill: black;">
|
|
2919
|
+
<use xlink:href="#linkIcon"></use>
|
|
2920
|
+
</svg>
|
|
2921
|
+
</a>
|
|
2922
|
+
<h4 class="name" id="event:rgbIntensity">
|
|
2923
|
+
<span class="type-signature"></span>rgbIntensity<span class="type-signature"> :object</span>
|
|
2924
|
+
</h4>
|
|
2925
|
+
</span>
|
|
2926
|
+
|
|
2927
|
+
|
|
2928
|
+
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
<div class="description">
|
|
2932
|
+
<p>Emits when a color sensor is activated.</p>
|
|
2933
|
+
</div>
|
|
2934
|
+
|
|
2935
|
+
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
|
|
2939
|
+
|
|
2940
|
+
|
|
2941
|
+
<h5>Parameters:</h5>
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
<table class="params">
|
|
2945
|
+
<thead>
|
|
2946
|
+
<tr>
|
|
2947
|
+
|
|
2948
|
+
<th>Name</th>
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
<th>Type</th>
|
|
2952
|
+
|
|
2953
|
+
|
|
2954
|
+
|
|
2955
|
+
|
|
2956
|
+
|
|
2957
|
+
<th class="last">Description</th>
|
|
2958
|
+
</tr>
|
|
2959
|
+
</thead>
|
|
2960
|
+
|
|
2961
|
+
<tbody>
|
|
2962
|
+
|
|
2963
|
+
<tr>
|
|
2964
|
+
|
|
2965
|
+
<td class="name"><code>red</code></td>
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
<td class="type">
|
|
2969
|
+
|
|
2970
|
+
|
|
2971
|
+
<span class="param-type">
|
|
2972
|
+
number
|
|
2973
|
+
</span>
|
|
2974
|
+
|
|
2975
|
+
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
|
|
2979
|
+
</td>
|
|
2980
|
+
|
|
2981
|
+
|
|
2982
|
+
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
<td class="description last">
|
|
2986
|
+
|
|
2987
|
+
|
|
2988
|
+
</td>
|
|
2989
|
+
</tr>
|
|
2990
|
+
|
|
2991
|
+
|
|
2992
|
+
<tr>
|
|
2993
|
+
|
|
2994
|
+
<td class="name"><code>green</code></td>
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
<td class="type">
|
|
2998
|
+
|
|
2999
|
+
|
|
3000
|
+
<span class="param-type">
|
|
3001
|
+
number
|
|
3002
|
+
</span>
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
|
|
3008
|
+
</td>
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
<td class="description last">
|
|
3015
|
+
|
|
3016
|
+
|
|
3017
|
+
</td>
|
|
3018
|
+
</tr>
|
|
3019
|
+
|
|
3020
|
+
|
|
3021
|
+
<tr>
|
|
3022
|
+
|
|
3023
|
+
<td class="name"><code>blue</code></td>
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
<td class="type">
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
<span class="param-type">
|
|
3030
|
+
number
|
|
3031
|
+
</span>
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
</td>
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
<td class="description last">
|
|
3044
|
+
|
|
3045
|
+
|
|
3046
|
+
</td>
|
|
3047
|
+
</tr>
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
</tbody>
|
|
3051
|
+
</table>
|
|
3052
|
+
|
|
3053
|
+
|
|
3054
|
+
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
<dl class="details">
|
|
3058
|
+
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
|
|
3062
|
+
|
|
3063
|
+
|
|
3064
|
+
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
|
|
3080
|
+
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
|
|
3084
|
+
<dt class="tag-source">Source:</dt>
|
|
3085
|
+
<dd class="tag-source">
|
|
3086
|
+
<ul class="dummy">
|
|
3087
|
+
<li>
|
|
3088
|
+
<a href="devices_colordistancesensor.js.html">devices/colordistancesensor.js</a>, <a href="devices_colordistancesensor.js.html#line121">line 121</a>
|
|
2301
3089
|
</li>
|
|
2302
3090
|
</ul>
|
|
2303
3091
|
</dd>
|