Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (48 sloc) 2.47 KB
{
"extensionName": "Thymio-II",
"extensionPort": 3000,
"useHTTP": true,
"blockSpecs": [
[ "w", "move %n mm", "nodes/thymio-II/scratch_move", 50 ],
[ "w", "turn %n degrees", "nodes/thymio-II/scratch_turn", 45 ],
[ "w", "curve radius %n mm %n degrees", "nodes/thymio-II/scratch_arc", 150, 45 ],
[ " ", "start motors %n x %n mm/sec", "nodes/thymio-II/scratch_start", 20, 20 ],
[ " ", "change motors %n x %n mm/sec", "nodes/thymio-II/scratch_change_speed", 10, 10 ],
[ " ", "stop motors", "nodes/thymio-II/scratch_stop" ],
[ " ", "switch dial to %n", "nodes/thymio-II/scratch_set_dial", 0 ],
[ " ", "next dial", "nodes/thymio-II/scratch_next_dial" ],
[ " ", "next dial up to %n", "nodes/thymio-II/scratch_next_dial_limit", 71 ],
[ " ", "leds clear", "nodes/thymio-II/scratch_clear_leds" ],
[ " ", "leds set color %n on %m.light", "nodes/thymio-II/scratch_set_leds", 0, "all" ],
[ " ", "leds change color %n on %m.light", "nodes/thymio-II/scratch_change_leds", 33, "all" ],
[ " ", "play note %n for %n 60ths", "nodes/thymio-II/A_sound_freq", 440, 60 ],
[ " ", "play system sound %n", "nodes/thymio-II/A_sound_system", 0 ],
[ " ", "set odometer direction:%n x:%n y:%n", "nodes/thymio-II/Q_set_odometer", 90, 0, 0 ],
[ "b", "touching %m.sensors", "b_touching", "front" ],
[ "b", "button %m.button", "b_button", "center" ],
[ "b", "clap", "b_clap" ],
[ "r", "distance %m.sensors", "distance", "front" ],
[ "r", "angle %m.angle", "angle", "front" ],
[ "r", "motor %m.leftright speed", "motor.speed", "left" ],
[ "r", "motor %m.leftright target", "motor.target", "left" ],
[ "r", "tilt on %m.tilt axis", "tilt", "right-left" ],
[ "r", "leds color %m.light", "leds", "top" ],
[ "r", "sensing front", "prox.horizontal" ],
[ "r", "temperature", "temperature" ],
[ "r", "loundness", "mic.intensity" ],
[ "r", "odometer %m.odo", "odo", "direction" ],
[ "r", "proximity %n", "proximity", 2 ],
[ "r", "ground %n", "ground", 0 ]
],
"menus": {
"leftright": [ "left", "right" ],
"light": [ "all", "top", "bottom", "bottom left", "bottom right" ],
"sensors": [ "front", "back", "ground" ],
"angle": [ "front", "back", "ground" ],
"tilt": [ "right-left", "front-back", "top-bottom" ],
"button": [ "center", "forward", "backward", "left", "right" ],
"odo": [ "direction", "x", "y" ],
"diallevel": [ "simple", "double", "triple" ],
"sound": [ "system", "special", "recorded" ]
}
}
You can’t perform that action at this time.