-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e41381
commit acb1fc0
Showing
6 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"robotics": "", | ||
"robotics.motorRun": "设置M1,M2电机的转速,可以分别设置,也可以⼀起设置。", | ||
"robotics.motorStop": "停⽌M1,M2电机,可分别设置,也可以⼀起设置。", | ||
"robotics.servoRun180": "设置180°舵机的⻆度", | ||
"robotics.servoRun360": "设置360°舵机的速度", | ||
"robotics.readUltrasonicData": "读取超声波传感器的距离,单位厘⽶", | ||
"robotics.readLineTrackingData": "读取巡线传感器的状态(数字量),检测到⿊线输出 0,检测到⽩线输出 1", | ||
"robotics.readMoistureData": "读取⼟壤湿度的值(模拟量),范围0~1023。", | ||
"robotics.readDht11Data": "读取DHT11传感器的温度值和湿度值。温度值有两个单位,分别是℃和℉,湿度的单位是'%'", | ||
"robotics.readLightData": "读取环境光线传感器的值(模拟量)", | ||
"robotics.readInfraredData": "⼈体红外传感器(数字量)", | ||
"robotics.ws2812Init": "设置RGB的灯总数", | ||
"robotics.ws2812SBrightness": "设置RGB灯的亮度值", | ||
"robotics.ws2812LedRange": "起始灯号到结束灯号", | ||
"robotics.ws2812SetIndexColor": "设置指定灯号的显示颜色", | ||
"robotics.ws2812ShowColor": "设置所有灯号的显示颜色", | ||
"robotics.ws2812Off": "设置RGB灯全部熄灭", | ||
"robotics.ws2812Shift": "移动 LED 的颜⾊序列,移动单位⾃定义设置。⽤于后⾯制作流⽔灯。", | ||
"robotics.ws2812Rotate": "循环移动 LED 的颜⾊序列,移动单位⾃定义设置。", | ||
"robotics.ws2812Rainbow": "设置RGB灯显⽰渐变颜⾊", | ||
"robotics.getWs2812Color": "通过三原⾊设置RGB灯的颜⾊" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"robotics.motorRun|block": "Motor %motor dir %dir velocidad %speed", | ||
"robotics.motorStop|block": "Parar motor %motor", | ||
"robotics.servoRun180|block": "fijar pin %pin servo a %degree=protractorPicker grados", | ||
"robotics.servoRun360|block": "pin $pin rotar servo $dir a $speed \\% velocidad", | ||
"robotics.readUltrasonicData|block": "Obtener distancia del sensor ultrasónico del pin %pin en (cm).", | ||
"robotics.readLineTrackingData|block": "Leer estado del seguidor de línea %pin", | ||
"robotics.readMoistureData|block": "Leer pin %pin sensor de humedad del suelo", | ||
"robotics.readDht11Data|block": "Leer pin %pin %type", | ||
"robotics.readLightData|block": "Leer pin %pin Senosr luz ambiente", | ||
"robotics.readInfraredData|block": "Leer pin %pin Sensor digital de movimiento infrarrojo", | ||
"robotics.ws2812Init|block": "pin $pin $num RGB LEDs", | ||
"robotics.ws2812SBrightness|block": "Brillo RGB %brightness", | ||
"robotics.ws2812LedRange|block": "leds del %from al %to", | ||
"robotics.ws2812SetIndexColor|block": "RGB %index mostrar color %color", | ||
"robotics.ws2812ShowColor|block": "mostrar color %color", | ||
"robotics.ws2812Off|block": "borrar todos los LED RGB", | ||
"robotics.ws2812Shift|block": "desplazar píxeles en %offset", | ||
"robotics.ws2812Rotate|block": "rotar píxeles en %offset", | ||
"robotics.ws2812Rainbow|block": "RGB %start to %end muesta el color degradado de %startHue a %endHue", | ||
"robotics.getWs2812Color|block": "rojo %red verde %green azul %blue", | ||
|
||
"robotics.MotorType.All|block": "All", | ||
"robotics.MotorDirection.CW|block": "CW", | ||
"robotics.MotorDirection.CCW|block": "CCW", | ||
"robotics.DataType.TemperatureC|block": "temperatura(℃)", | ||
"robotics.DataType.TemperatureF|block": "temperatura(ºF)", | ||
"robotics.DataType.Humidity|block": "humedad(%RH)", | ||
"robotics|block": "Robotics Kit", | ||
"{id:category}robotics": "Robotics Kit", | ||
"{id:group}Motor": "Motor", | ||
"{id:group}Servo": "Servo", | ||
"{id:group}Sensor": "Transductor" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters