mirror of
https://github.com/xodio/xod.git
synced 2026-03-10 02:36:49 +01:00
refactor(stdlib): remove RDY pin from ‘xod/core/analog-input’ patch
This commit is contained in:
@@ -1,17 +1,6 @@
|
||||
{
|
||||
"description": "",
|
||||
"links": [
|
||||
{
|
||||
"id": "Bk_AeSTGb",
|
||||
"input": {
|
||||
"nodeId": "SkoEgHpfZ",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "ryR_UV6Mb",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ByD4kHTzW",
|
||||
"input": {
|
||||
@@ -34,17 +23,6 @@
|
||||
"pinKey": "SyBtREhlW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BygJbB6f-",
|
||||
"input": {
|
||||
"nodeId": "rJISeBpf-",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "ryR_UV6Mb",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "Bym4kSTfb",
|
||||
"input": {
|
||||
@@ -56,17 +34,6 @@
|
||||
"pinKey": "BkQzLCurwJZ"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BysS_4TGb",
|
||||
"input": {
|
||||
"nodeId": "H1dMvV6MW",
|
||||
"pinKey": "S1n95SDJb"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "ryR_UV6Mb",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "H15gyBazW",
|
||||
"input": {
|
||||
@@ -265,17 +232,6 @@
|
||||
"pinKey": "BkQzLCurwJZ"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rkTAer6zZ",
|
||||
"input": {
|
||||
"nodeId": "rkSHxS6z-",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "ryR_UV6Mb",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rks3CSafb",
|
||||
"input": {
|
||||
|
||||
@@ -12,17 +12,6 @@
|
||||
"pinKey": "HJU8CE2lW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BJlWxDpzZ",
|
||||
"input": {
|
||||
"nodeId": "SyQeevTfb",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BJApywTfW",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BkNKyvTfb",
|
||||
"input": {
|
||||
@@ -34,17 +23,6 @@
|
||||
"pinKey": "ryVmUAOrvkb"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BkRxgDazW",
|
||||
"input": {
|
||||
"nodeId": "r1IgevTG-",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "rJWC1DpG-",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "By5zlD6GZ",
|
||||
"input": {
|
||||
@@ -56,17 +34,6 @@
|
||||
"pinKey": "SyBtREhlW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HkagxPpfb",
|
||||
"input": {
|
||||
"nodeId": "BJbLexP6z-",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BkQAkPpGb",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "S1tflv6fW",
|
||||
"input": {
|
||||
|
||||
@@ -44,17 +44,6 @@
|
||||
"nodeId": "S1hcEOTz-",
|
||||
"pinKey": "SyBtREhlW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HkMfv_pMW",
|
||||
"input": {
|
||||
"nodeId": "HJc-POpzZ",
|
||||
"pinKey": "S1n95SDJb"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "S1hcEOTz-",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
}
|
||||
],
|
||||
"nodes": [
|
||||
|
||||
@@ -23,17 +23,6 @@
|
||||
"pinKey": "HktZUCdrPkZ"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HyTJTJOQb",
|
||||
"input": {
|
||||
"nodeId": "H1rypyO7b",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BJpa2yu7b",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SJMphk_mZ",
|
||||
"input": {
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
{
|
||||
"description": "",
|
||||
"links": [
|
||||
{
|
||||
"id": "SJrUn1uQ-",
|
||||
"input": {
|
||||
"nodeId": "r1kI3k_mZ",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "HkVEhkO7b",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SkDS2JdQW",
|
||||
"input": {
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
{
|
||||
"description": "",
|
||||
"links": [
|
||||
{
|
||||
"id": "B1dR91_XZ",
|
||||
"input": {
|
||||
"nodeId": "SyzRqkuXW",
|
||||
"pinKey": "rkAnKBvyZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "rkBp5y_QZ",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "BkDC91_m-",
|
||||
"input": {
|
||||
|
||||
@@ -56,17 +56,6 @@
|
||||
"pinKey": "rk4-cs6-W"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "ByK6IguQW",
|
||||
"input": {
|
||||
"nodeId": "r1tzUxOmZ",
|
||||
"pinKey": "__in__"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "rkmS8xu7W",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HJluLg_X-",
|
||||
"input": {
|
||||
@@ -100,17 +89,6 @@
|
||||
"pinKey": "__out__"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "Skr5Lx_mb",
|
||||
"input": {
|
||||
"nodeId": "HJrYIg_mb",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "rkmS8xu7W",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rkNaLedXW",
|
||||
"input": {
|
||||
|
||||
@@ -23,17 +23,6 @@
|
||||
"pinKey": "rksccsp-W"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HkM-XgOm-",
|
||||
"input": {
|
||||
"nodeId": "Sk9gmgOQW",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BJpa2yu7b",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SJMphk_mZ",
|
||||
"input": {
|
||||
|
||||
@@ -23,17 +23,6 @@
|
||||
"pinKey": "rksccsp-W"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HkM-XgOm-",
|
||||
"input": {
|
||||
"nodeId": "Sk9gmgOQW",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BJpa2yu7b",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SJMphk_mZ",
|
||||
"input": {
|
||||
|
||||
@@ -12,17 +12,6 @@
|
||||
"pinKey": "SyBtREhlW"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "HkM-XgOm-",
|
||||
"input": {
|
||||
"nodeId": "Sk9gmgOQW",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "BJpa2yu7b",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SJMphk_mZ",
|
||||
"input": {
|
||||
|
||||
@@ -34,17 +34,6 @@
|
||||
"pinKey": "__out__"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "r1QQz86G-",
|
||||
"input": {
|
||||
"nodeId": "S1JWMUaMW",
|
||||
"pinKey": "__in__"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "S13MzIpMZ",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "rJy7MLpfW",
|
||||
"input": {
|
||||
|
||||
@@ -17,5 +17,4 @@ void evaluate(NodeId nid, State* state) {
|
||||
}
|
||||
|
||||
emitValue<Outputs::VAL>(nid, ::analogRead(port) / 1023.);
|
||||
emitValue<Outputs::RDY>(nid, 1);
|
||||
}
|
||||
|
||||
@@ -47,17 +47,6 @@
|
||||
"y": 16
|
||||
},
|
||||
"type": "xod/patch-nodes/input-pulse"
|
||||
},
|
||||
{
|
||||
"boundValues": {},
|
||||
"description": "Pulses when the reading is ready",
|
||||
"id": "rymG3j6b-",
|
||||
"label": "RDY",
|
||||
"position": {
|
||||
"x": 266,
|
||||
"y": 224
|
||||
},
|
||||
"type": "xod/patch-nodes/output-pulse"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,17 +1,6 @@
|
||||
{
|
||||
"description": "",
|
||||
"links": [
|
||||
{
|
||||
"id": "B11wUJQfW",
|
||||
"input": {
|
||||
"nodeId": "SJI8Ik7zW",
|
||||
"pinKey": "__in__"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "S1afrk7GW",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "B1omL1XGZ",
|
||||
"input": {
|
||||
@@ -78,17 +67,6 @@
|
||||
"pinKey": "__out__"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "S1Hb8yXGZ",
|
||||
"input": {
|
||||
"nodeId": "S1jFHymG-",
|
||||
"pinKey": "rJf8o4ngZ"
|
||||
},
|
||||
"output": {
|
||||
"nodeId": "S1afrk7GW",
|
||||
"pinKey": "rymG3j6b-"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "SkD1U1XzZ",
|
||||
"input": {
|
||||
|
||||
Reference in New Issue
Block a user