color dropdown for color sensor (#324)
@ -19,22 +19,22 @@ enum LightIntensityMode {
|
||||
}
|
||||
|
||||
const enum ColorSensorColor {
|
||||
//% block="none"
|
||||
//% block="none" jres=colors.none
|
||||
None,
|
||||
//% block="black"
|
||||
//% block="black" jres=colors.black
|
||||
Black,
|
||||
//% block="blue"
|
||||
//% block="blue" jres=colors.blue
|
||||
Blue,
|
||||
//% block="green"
|
||||
//% block="green" jres=colors.green
|
||||
Green,
|
||||
//% block="yellow"
|
||||
//% block="yellow" jres=colors.yellow
|
||||
Yellow,
|
||||
//% block="red"
|
||||
//% block="red" jres=colors.red
|
||||
Red,
|
||||
//% block="white"
|
||||
//% block="white" jres=colors.white
|
||||
White,
|
||||
//% block="brown"
|
||||
Brown,
|
||||
//% block="brown" jres=colors.brown
|
||||
Brown
|
||||
}
|
||||
|
||||
enum LightCondition {
|
||||
@ -117,6 +117,11 @@ namespace sensors {
|
||||
//% sensor.fieldEditor="ports"
|
||||
//% weight=100 blockGap=12
|
||||
//% group="Color Sensor"
|
||||
//% color.fieldEditor="gridpicker"
|
||||
//% color.fieldOptions.columns=4
|
||||
//% color.fieldOptions.tooltips=true
|
||||
//% color.fieldOptions.hideRect=true
|
||||
//% color.fieldOptions.width=268
|
||||
onColorDetected(color: ColorSensorColor, handler: () => void) {
|
||||
this.setMode(ColorSensorMode.Color)
|
||||
const v = this._colorEventValue(<number>color);
|
||||
@ -137,6 +142,11 @@ namespace sensors {
|
||||
//% sensor.fieldEditor="ports"
|
||||
//% weight=99 blockGap=8
|
||||
//% group="Color Sensor"
|
||||
//% color.fieldEditor="gridpicker"
|
||||
//% color.fieldOptions.columns=4
|
||||
//% color.fieldOptions.tooltips=true
|
||||
//% color.fieldOptions.hideRect=true
|
||||
//% color.fieldOptions.width=268
|
||||
pauseForColor(color: ColorSensorColor) {
|
||||
this.setMode(ColorSensorMode.Color);
|
||||
if (this.color() != color) {
|
||||
|
30
libs/color-sensor/colors.jres
Normal file
@ -0,0 +1,30 @@
|
||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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAszD0iAAAAQB0Uk5T////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AFP3ByUAAAAJcEhZcwAADsIAAA7CARUoSoAAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMjHxIGmVAAAALklEQVRYR+3MQQ0AIAADMfybHjkN/EgroGePBIIIBBEIIhBEIIhAEIEggg+C7QKnC/DiLFihnAAAAABJRU5ErkJggg=="
|
||||
},
|
||||
"red": {
|
||||
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMAUExURf8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8gKTMAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAZdEVYdFNvZnR3YXJlAHBhaW50Lm5ldCA0LjAuMjHxIGmVAAAAG0lEQVRYR+3BgQAAAADDoPlT3+AEVQAAAABXDRBAAAFce08FAAAAAElFTkSuQmCC"
|
||||
}
|
||||
}
|
BIN
libs/color-sensor/jres/colors/black-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/blue-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/brown-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/green-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/none-icon.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
libs/color-sensor/jres/colors/red-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/white-icon.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
libs/color-sensor/jres/colors/yellow-icon.png
Normal file
After Width: | Height: | Size: 951 B |
@ -3,6 +3,7 @@
|
||||
"description": "Color Sensor support",
|
||||
"files": [
|
||||
"README.md",
|
||||
"colors.jres",
|
||||
"color.ts"
|
||||
],
|
||||
"testFiles": [
|
||||
|