basic motor block support

This commit is contained in:
Peli de Halleux
2016-10-11 22:58:53 -07:00
parent 5d8a1b69f6
commit dff4f3adb3
7 changed files with 76 additions and 1 deletions

View File

@ -144,5 +144,26 @@
{"part": true, "pinIndices": [0]},
{"pinIndices": [1]}
]
}
},
"dcmotor": {
"numberOfPins": 2,
"visual": {
"image": "parts/dcmotor.svg",
"width": 488,
"height": 836,
"pinDistance": 65,
"pinLocations": [
{"x": 89, "y": 48},
{"x": 395, "y": 48} ]
},
"pinDefinitions": [
{ "target": "P1", "style": "croc", "orientation": "-Z"},
{ "target": "ground", "style": "croc", "orientation": "-Z"}
],
"instantiation": {"kind": "singleton"},
"assembly": [
{"part": true, "pinIndices": [0]},
{"pinIndices": [1]}
]
}
}