diff --git a/docs/AbsoluteMotor.html b/docs/AbsoluteMotor.html
index 5520afd..f472fa7 100644
--- a/docs/AbsoluteMotor.html
+++ b/docs/AbsoluteMotor.html
@@ -2128,7 +2128,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/BaseHub.html b/docs/BaseHub.html
index f5bfe78..461ace6 100644
--- a/docs/BaseHub.html
+++ b/docs/BaseHub.html
@@ -1325,7 +1325,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/BasicMotor.html b/docs/BasicMotor.html
index c1b6d83..f4d43c1 100644
--- a/docs/BasicMotor.html
+++ b/docs/BasicMotor.html
@@ -1622,7 +1622,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/BoostMoveHub.html b/docs/BoostMoveHub.html
index c0a8c50..b13e290 100644
--- a/docs/BoostMoveHub.html
+++ b/docs/BoostMoveHub.html
@@ -2715,7 +2715,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/ColorDistanceSensor.html b/docs/ColorDistanceSensor.html
index cc1505f..f1e0d24 100644
--- a/docs/ColorDistanceSensor.html
+++ b/docs/ColorDistanceSensor.html
@@ -2394,7 +2394,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/ControlPlusHub.html b/docs/ControlPlusHub.html
index 6ead1f4..da22145 100644
--- a/docs/ControlPlusHub.html
+++ b/docs/ControlPlusHub.html
@@ -2715,7 +2715,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/CurrentSensor.html b/docs/CurrentSensor.html
index 4032359..fcbd57b 100644
--- a/docs/CurrentSensor.html
+++ b/docs/CurrentSensor.html
@@ -1170,7 +1170,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/Device.html b/docs/Device.html
index 92ceb07..62d80cd 100644
--- a/docs/Device.html
+++ b/docs/Device.html
@@ -968,7 +968,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/DuploTrainBase.html b/docs/DuploTrainBase.html
index bbcc930..dbe8877 100644
--- a/docs/DuploTrainBase.html
+++ b/docs/DuploTrainBase.html
@@ -2079,7 +2079,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/DuploTrainBaseColorSensor.html b/docs/DuploTrainBaseColorSensor.html
index 501a9c8..fc1d2a6 100644
--- a/docs/DuploTrainBaseColorSensor.html
+++ b/docs/DuploTrainBaseColorSensor.html
@@ -1506,7 +1506,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/DuploTrainBaseMotor.html b/docs/DuploTrainBaseMotor.html
index 628b915..8579d4c 100644
--- a/docs/DuploTrainBaseMotor.html
+++ b/docs/DuploTrainBaseMotor.html
@@ -1658,7 +1658,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/DuploTrainBaseSpeaker.html b/docs/DuploTrainBaseSpeaker.html
index c59fc71..2aba7df 100644
--- a/docs/DuploTrainBaseSpeaker.html
+++ b/docs/DuploTrainBaseSpeaker.html
@@ -1350,7 +1350,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/DuploTraniBaseSpeedometer.html b/docs/DuploTraniBaseSpeedometer.html
index d413fb3..8eabaa6 100644
--- a/docs/DuploTraniBaseSpeedometer.html
+++ b/docs/DuploTraniBaseSpeedometer.html
@@ -1022,7 +1022,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/Hub.html b/docs/Hub.html
index 83a88ae..037fddb 100644
--- a/docs/Hub.html
+++ b/docs/Hub.html
@@ -3758,7 +3758,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/HubLED.html b/docs/HubLED.html
index f857768..d92e738 100644
--- a/docs/HubLED.html
+++ b/docs/HubLED.html
@@ -1398,7 +1398,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/LPF2Hub.html b/docs/LPF2Hub.html
index 2fbea92..6c69e4c 100644
--- a/docs/LPF2Hub.html
+++ b/docs/LPF2Hub.html
@@ -2037,7 +2037,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/Light.html b/docs/Light.html
index 4322208..0eba6e8 100644
--- a/docs/Light.html
+++ b/docs/Light.html
@@ -1398,7 +1398,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/MediumLinearMotor.html b/docs/MediumLinearMotor.html
index d96cecf..c545b12 100644
--- a/docs/MediumLinearMotor.html
+++ b/docs/MediumLinearMotor.html
@@ -1471,7 +1471,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/MotionSensor.html b/docs/MotionSensor.html
index 2fa6dfc..6b932d3 100644
--- a/docs/MotionSensor.html
+++ b/docs/MotionSensor.html
@@ -1170,7 +1170,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/MoveHub.html b/docs/MoveHub.html
index 17717f7..fbe9be0 100644
--- a/docs/MoveHub.html
+++ b/docs/MoveHub.html
@@ -2124,7 +2124,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/MoveHubMediumLinearMotor.html b/docs/MoveHubMediumLinearMotor.html
index fe8f0dc..697ad44 100644
--- a/docs/MoveHubMediumLinearMotor.html
+++ b/docs/MoveHubMediumLinearMotor.html
@@ -1471,7 +1471,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/MoveHubTiltSensor.html b/docs/MoveHubTiltSensor.html
index 1323a87..d6829d4 100644
--- a/docs/MoveHubTiltSensor.html
+++ b/docs/MoveHubTiltSensor.html
@@ -1194,7 +1194,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/PUPHub.html b/docs/PUPHub.html
index 1bd3eed..f9f4e35 100644
--- a/docs/PUPHub.html
+++ b/docs/PUPHub.html
@@ -3936,7 +3936,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/PUPRemote.html b/docs/PUPRemote.html
index 61bf816..46e2d06 100644
--- a/docs/PUPRemote.html
+++ b/docs/PUPRemote.html
@@ -3936,7 +3936,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/PiezoBuzzer.html b/docs/PiezoBuzzer.html
index ca050cf..d93a832 100644
--- a/docs/PiezoBuzzer.html
+++ b/docs/PiezoBuzzer.html
@@ -1212,7 +1212,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/RemoteControl.html b/docs/RemoteControl.html
index 99f3932..50c9b10 100644
--- a/docs/RemoteControl.html
+++ b/docs/RemoteControl.html
@@ -2124,7 +2124,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/RemoteControlButton.html b/docs/RemoteControlButton.html
index bc1be6a..f198a91 100644
--- a/docs/RemoteControlButton.html
+++ b/docs/RemoteControlButton.html
@@ -1170,7 +1170,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/SimpleMediumLinearMotor.html b/docs/SimpleMediumLinearMotor.html
index 81832df..1ef7a0d 100644
--- a/docs/SimpleMediumLinearMotor.html
+++ b/docs/SimpleMediumLinearMotor.html
@@ -1022,7 +1022,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TachoMotor.html b/docs/TachoMotor.html
index 38df4b7..6b3d2d4 100644
--- a/docs/TachoMotor.html
+++ b/docs/TachoMotor.html
@@ -2812,7 +2812,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicColorSensor.html b/docs/TechnicColorSensor.html
index 4a02d31..a203084 100644
--- a/docs/TechnicColorSensor.html
+++ b/docs/TechnicColorSensor.html
@@ -970,6 +970,220 @@
+
Methods
+
+
+
+
+-
+
setBrightness(firstSegment, secondSegment, thirdSegment)
+
+
+
+-
+
+
+
+
Set the brightness (or turn on/off) of the lights around the sensor.
+
+
+
+
+
+
+
+
+
+ Parameters:
+
+
+
+
+
+
+ Name |
+
+
+ Type |
+
+
+
+
+
+ Description |
+
+
+
+
+
+
+
+
+ firstSegment |
+
+
+
+
+
+number
+
+
+
+
+ |
+
+
+
+
+
+ First light segment. 0-100 brightness. |
+
+
+
+
+
+
+ secondSegment |
+
+
+
+
+
+number
+
+
+
+
+ |
+
+
+
+
+
+ Second light segment. 0-100 brightness. |
+
+
+
+
+
+
+ thirdSegment |
+
+
+
+
+
+number
+
+
+
+
+ |
+
+
+
+
+
+ Third light segment. 0-100 brightness. |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ - Source:
+ -
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
Resolved upon successful issuance of the command.
+
+
+
+
+
+ -
+ Type
+
+ -
+
+Promise
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1458,7 +1672,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicDistanceSensor.html b/docs/TechnicDistanceSensor.html
index 368d696..dbca5eb 100644
--- a/docs/TechnicDistanceSensor.html
+++ b/docs/TechnicDistanceSensor.html
@@ -984,7 +984,7 @@
-
Set the brightness (or turn on/off) the lights around the eyes.
+
Set the brightness (or turn on/off) of the lights around the eyes.
@@ -1552,7 +1552,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicForceSensor.html b/docs/TechnicForceSensor.html
index 97c70c9..df9cef7 100644
--- a/docs/TechnicForceSensor.html
+++ b/docs/TechnicForceSensor.html
@@ -1458,7 +1458,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicLargeAngularMotor.html b/docs/TechnicLargeAngularMotor.html
index 1bc73a4..0d10dac 100644
--- a/docs/TechnicLargeAngularMotor.html
+++ b/docs/TechnicLargeAngularMotor.html
@@ -2164,7 +2164,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicLargeLinearMotor.html b/docs/TechnicLargeLinearMotor.html
index 09f0804..e5bd919 100644
--- a/docs/TechnicLargeLinearMotor.html
+++ b/docs/TechnicLargeLinearMotor.html
@@ -2164,7 +2164,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicMediumAngularMotor.html b/docs/TechnicMediumAngularMotor.html
index ea1565c..d1802ab 100644
--- a/docs/TechnicMediumAngularMotor.html
+++ b/docs/TechnicMediumAngularMotor.html
@@ -2164,7 +2164,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicMediumHub.html b/docs/TechnicMediumHub.html
index f060ef6..73f3082 100644
--- a/docs/TechnicMediumHub.html
+++ b/docs/TechnicMediumHub.html
@@ -2124,7 +2124,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicMediumHubAccelerometerSensor.html b/docs/TechnicMediumHubAccelerometerSensor.html
index 6245c54..fa817d1 100644
--- a/docs/TechnicMediumHubAccelerometerSensor.html
+++ b/docs/TechnicMediumHubAccelerometerSensor.html
@@ -1218,7 +1218,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicMediumHubGyroSensor.html b/docs/TechnicMediumHubGyroSensor.html
index 22fedac..4718164 100644
--- a/docs/TechnicMediumHubGyroSensor.html
+++ b/docs/TechnicMediumHubGyroSensor.html
@@ -1218,7 +1218,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicMediumHubTiltSensor.html b/docs/TechnicMediumHubTiltSensor.html
index 33aea8e..68a98ec 100644
--- a/docs/TechnicMediumHubTiltSensor.html
+++ b/docs/TechnicMediumHubTiltSensor.html
@@ -1218,7 +1218,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TechnicXLargeLinearMotor.html b/docs/TechnicXLargeLinearMotor.html
index 408e25e..57ef079 100644
--- a/docs/TechnicXLargeLinearMotor.html
+++ b/docs/TechnicXLargeLinearMotor.html
@@ -2164,7 +2164,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TiltSensor.html b/docs/TiltSensor.html
index 5c2c4a4..9318962 100644
--- a/docs/TiltSensor.html
+++ b/docs/TiltSensor.html
@@ -1194,7 +1194,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/TrainMotor.html b/docs/TrainMotor.html
index fa4b4a4..82aec8b 100644
--- a/docs/TrainMotor.html
+++ b/docs/TrainMotor.html
@@ -1658,7 +1658,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/VoltageSensor.html b/docs/VoltageSensor.html
index b0bd79c..1dabc77 100644
--- a/docs/VoltageSensor.html
+++ b/docs/VoltageSensor.html
@@ -1170,7 +1170,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/WeDo2SmartHub.html b/docs/WeDo2SmartHub.html
index 06ed7da..45c61c8 100644
--- a/docs/WeDo2SmartHub.html
+++ b/docs/WeDo2SmartHub.html
@@ -1854,7 +1854,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/classes.list.html b/docs/classes.list.html
index 7c664e8..632c28a 100644
--- a/docs/classes.list.html
+++ b/docs/classes.list.html
@@ -9831,7 +9831,7 @@
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_absolutemotor.js.html b/docs/devices_absolutemotor.js.html
index 0b059cf..4f497ee 100644
--- a/docs/devices_absolutemotor.js.html
+++ b/docs/devices_absolutemotor.js.html
@@ -250,7 +250,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_basicmotor.js.html b/docs/devices_basicmotor.js.html
index 40d9afb..72a995d 100644
--- a/docs/devices_basicmotor.js.html
+++ b/docs/devices_basicmotor.js.html
@@ -192,7 +192,7 @@ exports.BasicMotor = BasicMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_colordistancesensor.js.html b/docs/devices_colordistancesensor.js.html
index 53cb423..8b446fd 100644
--- a/docs/devices_colordistancesensor.js.html
+++ b/docs/devices_colordistancesensor.js.html
@@ -319,7 +319,7 @@ var Output;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_currentsensor.js.html b/docs/devices_currentsensor.js.html
index 7115fad..baa403d 100644
--- a/docs/devices_currentsensor.js.html
+++ b/docs/devices_currentsensor.js.html
@@ -186,7 +186,7 @@ const MaxCurrentRaw = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_device.js.html b/docs/devices_device.js.html
index f691cbc..c96fe7c 100644
--- a/docs/devices_device.js.html
+++ b/docs/devices_device.js.html
@@ -288,7 +288,7 @@ exports.Device = Device;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_duplotrainbasecolorsensor.js.html b/docs/devices_duplotrainbasecolorsensor.js.html
index 0799e8b..3756f68 100644
--- a/docs/devices_duplotrainbasecolorsensor.js.html
+++ b/docs/devices_duplotrainbasecolorsensor.js.html
@@ -195,7 +195,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_duplotrainbasemotor.js.html b/docs/devices_duplotrainbasemotor.js.html
index bbfe766..a6a0a14 100644
--- a/docs/devices_duplotrainbasemotor.js.html
+++ b/docs/devices_duplotrainbasemotor.js.html
@@ -143,7 +143,7 @@ exports.DuploTrainBaseMotor = DuploTrainBaseMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_duplotrainbasespeaker.js.html b/docs/devices_duplotrainbasespeaker.js.html
index 9865cf8..2104d2f 100644
--- a/docs/devices_duplotrainbasespeaker.js.html
+++ b/docs/devices_duplotrainbasespeaker.js.html
@@ -171,7 +171,7 @@ var Mode;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_duplotrainbasespeedometer.js.html b/docs/devices_duplotrainbasespeedometer.js.html
index c255bc0..e269a40 100644
--- a/docs/devices_duplotrainbasespeedometer.js.html
+++ b/docs/devices_duplotrainbasespeedometer.js.html
@@ -165,7 +165,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_hubled.js.html b/docs/devices_hubled.js.html
index b3ac551..660a930 100644
--- a/docs/devices_hubled.js.html
+++ b/docs/devices_hubled.js.html
@@ -191,7 +191,7 @@ var Mode;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_light.js.html b/docs/devices_light.js.html
index 1156a0e..7335780 100644
--- a/docs/devices_light.js.html
+++ b/docs/devices_light.js.html
@@ -177,7 +177,7 @@ exports.Light = Light;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_mediumlinearmotor.js.html b/docs/devices_mediumlinearmotor.js.html
index 06ba3ef..2770bc2 100644
--- a/docs/devices_mediumlinearmotor.js.html
+++ b/docs/devices_mediumlinearmotor.js.html
@@ -143,7 +143,7 @@ exports.MediumLinearMotor = MediumLinearMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_motionsensor.js.html b/docs/devices_motionsensor.js.html
index 9be785c..2a0c8ac 100644
--- a/docs/devices_motionsensor.js.html
+++ b/docs/devices_motionsensor.js.html
@@ -169,7 +169,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_movehubmediumlinearmotor.js.html b/docs/devices_movehubmediumlinearmotor.js.html
index d845a41..4978d39 100644
--- a/docs/devices_movehubmediumlinearmotor.js.html
+++ b/docs/devices_movehubmediumlinearmotor.js.html
@@ -143,7 +143,7 @@ exports.MoveHubMediumLinearMotor = MoveHubMediumLinearMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_movehubtiltsensor.js.html b/docs/devices_movehubtiltsensor.js.html
index fa5f0b2..36a5310 100644
--- a/docs/devices_movehubtiltsensor.js.html
+++ b/docs/devices_movehubtiltsensor.js.html
@@ -167,7 +167,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_piezobuzzer.js.html b/docs/devices_piezobuzzer.js.html
index cb839eb..008888d 100644
--- a/docs/devices_piezobuzzer.js.html
+++ b/docs/devices_piezobuzzer.js.html
@@ -159,7 +159,7 @@ exports.PiezoBuzzer = PiezoBuzzer;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_remotecontrolbutton.js.html b/docs/devices_remotecontrolbutton.js.html
index 51e50c7..091fcc9 100644
--- a/docs/devices_remotecontrolbutton.js.html
+++ b/docs/devices_remotecontrolbutton.js.html
@@ -171,7 +171,7 @@ exports.ButtonState = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_simplemediumlinearmotor.js.html b/docs/devices_simplemediumlinearmotor.js.html
index b9da5fd..f0fe6ad 100644
--- a/docs/devices_simplemediumlinearmotor.js.html
+++ b/docs/devices_simplemediumlinearmotor.js.html
@@ -143,7 +143,7 @@ exports.SimpleMediumLinearMotor = SimpleMediumLinearMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_tachomotor.js.html b/docs/devices_tachomotor.js.html
index 818c98a..7d298df 100644
--- a/docs/devices_tachomotor.js.html
+++ b/docs/devices_tachomotor.js.html
@@ -300,7 +300,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_techniccolorsensor.js.html b/docs/devices_techniccolorsensor.js.html
index f09e0bf..4c0aa72 100644
--- a/docs/devices_techniccolorsensor.js.html
+++ b/docs/devices_techniccolorsensor.js.html
@@ -133,6 +133,17 @@ class TechnicColorSensor extends device_1.Device {
break;
}
}
+ /**
+ * Set the brightness (or turn on/off) of the lights around the sensor.
+ * @method TechnicColorSensor#setBrightness
+ * @param {number} firstSegment First light segment. 0-100 brightness.
+ * @param {number} secondSegment Second light segment. 0-100 brightness.
+ * @param {number} thirdSegment Third light segment. 0-100 brightness.
+ * @returns {Promise} Resolved upon successful issuance of the command.
+ */
+ setBrightness(firstSegment, secondSegment, thirdSegment) {
+ this.writeDirect(0x03, Buffer.from([firstSegment, secondSegment, thirdSegment]));
+ }
}
exports.TechnicColorSensor = TechnicColorSensor;
var Mode;
@@ -191,7 +202,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicdistancesensor.js.html b/docs/devices_technicdistancesensor.js.html
index e09b181..f82a3d6 100644
--- a/docs/devices_technicdistancesensor.js.html
+++ b/docs/devices_technicdistancesensor.js.html
@@ -122,7 +122,7 @@ class TechnicDistanceSensor extends device_1.Device {
}
}
/**
- * Set the brightness (or turn on/off) the lights around the eyes.
+ * Set the brightness (or turn on/off) of the lights around the eyes.
* @method TechnicDistanceSensor#setBrightness
* @param {number} topLeft Top left quadrant (above left eye). 0-100 brightness.
* @param {number} bottomLeft Bottom left quadrant (below left eye). 0-100 brightness.
@@ -189,7 +189,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicforcesensor.js.html b/docs/devices_technicforcesensor.js.html
index 66d6e07..352fe4f 100644
--- a/docs/devices_technicforcesensor.js.html
+++ b/docs/devices_technicforcesensor.js.html
@@ -189,7 +189,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_techniclargeangularmotor.js.html b/docs/devices_techniclargeangularmotor.js.html
index 2dd6bbb..fbf781e 100644
--- a/docs/devices_techniclargeangularmotor.js.html
+++ b/docs/devices_techniclargeangularmotor.js.html
@@ -143,7 +143,7 @@ exports.TechnicLargeAngularMotor = TechnicLargeAngularMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_techniclargelinearmotor.js.html b/docs/devices_techniclargelinearmotor.js.html
index 1532db3..cd4d15f 100644
--- a/docs/devices_techniclargelinearmotor.js.html
+++ b/docs/devices_techniclargelinearmotor.js.html
@@ -143,7 +143,7 @@ exports.TechnicLargeLinearMotor = TechnicLargeLinearMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicmediumangularmotor.js.html b/docs/devices_technicmediumangularmotor.js.html
index 281fbab..f5ee6c7 100644
--- a/docs/devices_technicmediumangularmotor.js.html
+++ b/docs/devices_technicmediumangularmotor.js.html
@@ -143,7 +143,7 @@ exports.TechnicMediumAngularMotor = TechnicMediumAngularMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicmediumhubaccelerometersensor.js.html b/docs/devices_technicmediumhubaccelerometersensor.js.html
index c8f7769..96606a7 100644
--- a/docs/devices_technicmediumhubaccelerometersensor.js.html
+++ b/docs/devices_technicmediumhubaccelerometersensor.js.html
@@ -169,7 +169,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicmediumhubgyrosensor.js.html b/docs/devices_technicmediumhubgyrosensor.js.html
index 58d0e0b..6fb7026 100644
--- a/docs/devices_technicmediumhubgyrosensor.js.html
+++ b/docs/devices_technicmediumhubgyrosensor.js.html
@@ -169,7 +169,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicmediumhubtiltsensor.js.html b/docs/devices_technicmediumhubtiltsensor.js.html
index 68f465b..0323acb 100644
--- a/docs/devices_technicmediumhubtiltsensor.js.html
+++ b/docs/devices_technicmediumhubtiltsensor.js.html
@@ -169,7 +169,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_technicxlargelinearmotor.js.html b/docs/devices_technicxlargelinearmotor.js.html
index 0e0ce92..3652bfb 100644
--- a/docs/devices_technicxlargelinearmotor.js.html
+++ b/docs/devices_technicxlargelinearmotor.js.html
@@ -143,7 +143,7 @@ exports.TechnicXLargeLinearMotor = TechnicXLargeLinearMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_tiltsensor.js.html b/docs/devices_tiltsensor.js.html
index af2c1a2..39149e2 100644
--- a/docs/devices_tiltsensor.js.html
+++ b/docs/devices_tiltsensor.js.html
@@ -167,7 +167,7 @@ exports.ModeMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_trainmotor.js.html b/docs/devices_trainmotor.js.html
index 3fda1ee..7489a7b 100644
--- a/docs/devices_trainmotor.js.html
+++ b/docs/devices_trainmotor.js.html
@@ -143,7 +143,7 @@ exports.TrainMotor = TrainMotor;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/devices_voltagesensor.js.html b/docs/devices_voltagesensor.js.html
index 3dcda4a..513d36b 100644
--- a/docs/devices_voltagesensor.js.html
+++ b/docs/devices_voltagesensor.js.html
@@ -190,7 +190,7 @@ const MaxVoltageRaw = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_basehub.js.html b/docs/hubs_basehub.js.html
index c772c9e..e55ddb8 100644
--- a/docs/hubs_basehub.js.html
+++ b/docs/hubs_basehub.js.html
@@ -477,7 +477,7 @@ exports.BaseHub = BaseHub;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_boostmovehub.js.html b/docs/hubs_boostmovehub.js.html
index 4bf15cc..98668ed 100644
--- a/docs/hubs_boostmovehub.js.html
+++ b/docs/hubs_boostmovehub.js.html
@@ -182,7 +182,7 @@ exports.BoostMoveHub = BoostMoveHub;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_controlplushub.js.html b/docs/hubs_controlplushub.js.html
index 832aeca..cf2d7bc 100644
--- a/docs/hubs_controlplushub.js.html
+++ b/docs/hubs_controlplushub.js.html
@@ -179,7 +179,7 @@ exports.ControlPlusHub = ControlPlusHub;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_duplotrainbase.js.html b/docs/hubs_duplotrainbase.js.html
index 80495da..a75bbfc 100644
--- a/docs/hubs_duplotrainbase.js.html
+++ b/docs/hubs_duplotrainbase.js.html
@@ -166,7 +166,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_hub.js.html b/docs/hubs_hub.js.html
index b8297c5..f8e4aa8 100644
--- a/docs/hubs_hub.js.html
+++ b/docs/hubs_hub.js.html
@@ -178,7 +178,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_lpf2hub.js.html b/docs/hubs_lpf2hub.js.html
index 051a2ef..595e9c2 100644
--- a/docs/hubs_lpf2hub.js.html
+++ b/docs/hubs_lpf2hub.js.html
@@ -456,7 +456,7 @@ exports.LPF2Hub = LPF2Hub;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_movehub.js.html b/docs/hubs_movehub.js.html
index f976246..3cef8e3 100644
--- a/docs/hubs_movehub.js.html
+++ b/docs/hubs_movehub.js.html
@@ -180,7 +180,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_puphub.js.html b/docs/hubs_puphub.js.html
index e45f826..25946d8 100644
--- a/docs/hubs_puphub.js.html
+++ b/docs/hubs_puphub.js.html
@@ -179,7 +179,7 @@ exports.PUPHub = PUPHub;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_pupremote.js.html b/docs/hubs_pupremote.js.html
index f97a37c..74d73c5 100644
--- a/docs/hubs_pupremote.js.html
+++ b/docs/hubs_pupremote.js.html
@@ -172,7 +172,7 @@ exports.PUPRemote = PUPRemote;
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_remotecontrol.js.html b/docs/hubs_remotecontrol.js.html
index 3ce6cab..320407f 100644
--- a/docs/hubs_remotecontrol.js.html
+++ b/docs/hubs_remotecontrol.js.html
@@ -168,7 +168,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_technicmediumhub.js.html b/docs/hubs_technicmediumhub.js.html
index ffd5fdd..056913e 100644
--- a/docs/hubs_technicmediumhub.js.html
+++ b/docs/hubs_technicmediumhub.js.html
@@ -174,7 +174,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/hubs_wedo2smarthub.js.html b/docs/hubs_wedo2smarthub.js.html
index 2f172e0..60208f0 100644
--- a/docs/hubs_wedo2smarthub.js.html
+++ b/docs/hubs_wedo2smarthub.js.html
@@ -319,7 +319,7 @@ exports.PortMap = {
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/index.html b/docs/index.html
index 7a42eae..cbf1282 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -410,7 +410,7 @@ console.log("Scanning for Hubs...");
Documentation generated by JSDoc 3.6.3
- on Sun May 24th 2020
+ on Sun May 31st 2020
using the DocStrap template.
diff --git a/docs/quicksearch.html b/docs/quicksearch.html
index a51f26e..fcd7621 100644
--- a/docs/quicksearch.html
+++ b/docs/quicksearch.html
@@ -7,7 +7,7 @@