ccIDE/peripherals/test/block_design.json
2024-06-30 13:02:14 +07:00

33 lines
830 B
JSON

{
"custom_math_operation": {
"message0": "%1 %2 %3",
"args0": [
{
"type": "field_dropdown",
"name": "OPERATOR",
"options": [
["+", "ADD"],
["-", "SUBTRACT"],
["*", "MULTIPLY"],
["/", "DIVIDE"]
]
},
{
"type": "input_value",
"name": "NUM1",
"check": "Number"
},
{
"type": "input_value",
"name": "NUM2",
"check": "Number"
}
],
"inputsInline": true,
"output": "Number",
"colour": 230,
"tooltip": "Perform a mathematical operation",
"helpUrl": ""
}
}