Attempt to shorten color sensor ambient and reflected blocks by removing detected keyword (#560)
This commit is contained in:
parent
7e58b9b699
commit
13b3c1a194
@ -185,7 +185,7 @@ namespace sensors {
|
|||||||
* @param handler the code to run when detected
|
* @param handler the code to run when detected
|
||||||
*/
|
*/
|
||||||
//% help=sensors/color-sensor/on-light-detected
|
//% help=sensors/color-sensor/on-light-detected
|
||||||
//% block="on **color sensor** %this|detected %mode|%condition"
|
//% block="on **color sensor** %this|%mode|%condition"
|
||||||
//% blockId=colorOnLightDetected
|
//% blockId=colorOnLightDetected
|
||||||
//% parts="colorsensor"
|
//% parts="colorsensor"
|
||||||
//% blockNamespace=sensors
|
//% blockNamespace=sensors
|
||||||
@ -202,7 +202,7 @@ namespace sensors {
|
|||||||
* @param color the color to detect
|
* @param color the color to detect
|
||||||
*/
|
*/
|
||||||
//% help=sensors/color-sensor/pause-until-light-detected
|
//% help=sensors/color-sensor/pause-until-light-detected
|
||||||
//% block="pause until **color sensor** %this|detected %mode|%condition"
|
//% block="pause until **color sensor** %this|%mode|%condition"
|
||||||
//% blockId=colorPauseUntilLightDetected
|
//% blockId=colorPauseUntilLightDetected
|
||||||
//% parts="colorsensor"
|
//% parts="colorsensor"
|
||||||
//% blockNamespace=sensors
|
//% blockNamespace=sensors
|
||||||
|
Loading…
Reference in New Issue
Block a user