{ "Config": { "Build": { "Board": "arduino:avr:uno" } }, "Units": [ { "Name": "__OpenWireRootUnit__", "Selection": [ "Arduino" ], "Links": [ { "Routed": true, "Begin": { "ID": "QueuedDHT.SensorOutputPin", "Y": 1072, "X": 816 }, "Name": "TOWELink1", "End": { "ID": "Arduino.Digital._Item7.DigitalInputPin", "Y": 1728, "X": 1200 }, "Points": [ { "Y": 1072, "X": 832 }, { "Y": 1024, "X": 832 }, { "Y": 1024, "X": 848 }, { "Y": 944, "X": 848 }, { "Y": 944, "X": 240 }, { "Y": 2832, "X": 240 }, { "Y": 2832, "X": 1184 }, { "Y": 2192, "X": 1184 }, { "Y": 2192, "X": 1152 }, { "Y": 1936, "X": 1152 }, { "Y": 1936, "X": 1168 }, { "Y": 1728, "X": 1168 } ] }, { "Routed": true, "Begin": { "ID": "FinalAlarm.OutputPin", "Y": 2112, "X": 1120 }, "Name": "TOWELink2", "End": { "ID": "Arduino.Digital._Item13.DigitalInputPin", "Y": 1968, "X": 1200 }, "Points": [ { "Y": 2112, "X": 1168 }, { "Y": 1968, "X": 1168 } ] }, { "Routed": true, "Begin": { "ID": "SoilADC1.OutputPin", "Y": 1424, "X": 1152 }, "Name": "TOWELink3", "End": { "ID": "Arduino.Serial._Item0.InputPin", "Y": 1296, "X": 1200 }, "Points": [ { "Y": 1424, "X": 1184 }, { "Y": 1296, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "SoilADC2.OutputPin", "Y": 2032, "X": 1776 }, "Name": "TOWELink4", "End": { "ID": "Arduino.Serial._Item0.InputPin", "Y": 1296, "X": 1200 }, "Points": [ { "Y": 2032, "X": 1840 }, { "Y": 2912, "X": 1840 }, { "Y": 2912, "X": 128 }, { "Y": 736, "X": 128 }, { "Y": 736, "X": 816 }, { "Y": 560, "X": 816 }, { "Y": 560, "X": 1136 }, { "Y": 784, "X": 1136 }, { "Y": 784, "X": 1344 }, { "Y": 848, "X": 1344 }, { "Y": 848, "X": 1360 }, { "Y": 896, "X": 1360 }, { "Y": 896, "X": 1344 }, { "Y": 976, "X": 1344 }, { "Y": 976, "X": 1360 }, { "Y": 1216, "X": 1360 }, { "Y": 1216, "X": 1184 }, { "Y": 1296, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink5", "End": { "ID": "Arduino.Serial._Item0.InputPin", "Y": 1296, "X": 1200 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 }, { "Y": 800, "X": 816 }, { "Y": 560, "X": 816 }, { "Y": 560, "X": 1136 }, { "Y": 784, "X": 1136 }, { "Y": 784, "X": 1344 }, { "Y": 976, "X": 1344 }, { "Y": 976, "X": 1280 }, { "Y": 1040, "X": 1280 }, { "Y": 1040, "X": 1200 }, { "Y": 1056, "X": 1200 }, { "Y": 1056, "X": 1136 }, { "Y": 1088, "X": 1136 }, { "Y": 1088, "X": 1120 }, { "Y": 1232, "X": 1120 }, { "Y": 1232, "X": 1168 }, { "Y": 1248, "X": 1168 }, { "Y": 1248, "X": 1184 }, { "Y": 1296, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "ProbeClock.ControlOutputPin", "Y": 1872, "X": 992 }, "Name": "TOWELink6", "End": { "ID": "Arduino.I2CChannels._Item0.InputPin", "Y": 1376, "X": 1200 }, "Points": [ { "Y": 1872, "X": 1008 }, { "Y": 1776, "X": 1008 }, { "Y": 1776, "X": 1040 }, { "Y": 1712, "X": 1040 }, { "Y": 1712, "X": 1056 }, { "Y": 1584, "X": 1056 }, { "Y": 1584, "X": 1168 }, { "Y": 1392, "X": 1168 }, { "Y": 1392, "X": 1184 }, { "Y": 1376, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "ProbeDisplay.OutputPin", "Y": 1408, "X": 736 }, "Name": "TOWELink7", "End": { "ID": "Arduino.I2CChannels._Item0.InputPin", "Y": 1376, "X": 1200 }, "Points": [ { "Y": 1408, "X": 848 }, { "Y": 1312, "X": 848 }, { "Y": 1312, "X": 736 }, { "Y": 1104, "X": 736 }, { "Y": 1104, "X": 480 }, { "Y": 256, "X": 480 }, { "Y": 256, "X": 2224 }, { "Y": 1360, "X": 2224 }, { "Y": 1360, "X": 1552 }, { "Y": 1216, "X": 1552 }, { "Y": 1216, "X": 1504 }, { "Y": 1136, "X": 1504 }, { "Y": 1136, "X": 1392 }, { "Y": 1168, "X": 1392 }, { "Y": 1168, "X": 1344 }, { "Y": 1152, "X": 1344 }, { "Y": 1152, "X": 1216 }, { "Y": 1216, "X": 1216 }, { "Y": 1216, "X": 1184 }, { "Y": 1232, "X": 1184 }, { "Y": 1232, "X": 1168 }, { "Y": 1312, "X": 1168 }, { "Y": 1312, "X": 1184 }, { "Y": 1376, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink8", "End": { "ID": "TempRange.InputPin", "Y": 832, "X": 1008 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 }, { "Y": 800, "X": 816 }, { "Y": 560, "X": 816 }, { "Y": 560, "X": 1136 }, { "Y": 880, "X": 1136 }, { "Y": 880, "X": 1072 }, { "Y": 864, "X": 1072 }, { "Y": 864, "X": 960 }, { "Y": 848, "X": 960 }, { "Y": 848, "X": 992 }, { "Y": 832, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.HumidityOutputPin", "Y": 1056, "X": 816 }, "Name": "TOWELink9", "End": { "ID": "HumRange.InputPin", "Y": 944, "X": 1008 }, "Points": [ { "Y": 1056, "X": 832 }, { "Y": 1136, "X": 832 }, { "Y": 1136, "X": 992 }, { "Y": 1056, "X": 992 }, { "Y": 1056, "X": 1120 }, { "Y": 960, "X": 1120 }, { "Y": 960, "X": 1232 }, { "Y": 880, "X": 1232 }, { "Y": 880, "X": 1184 }, { "Y": 864, "X": 1184 }, { "Y": 864, "X": 1088 }, { "Y": 896, "X": 1088 }, { "Y": 896, "X": 992 }, { "Y": 944, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.HumidityOutputPin", "Y": 1056, "X": 816 }, "Name": "TOWELink10", "End": { "ID": "TempGate.InputPin", "Y": 832, "X": 1200 }, "Points": [ { "Y": 1056, "X": 832 }, { "Y": 1136, "X": 832 }, { "Y": 1136, "X": 992 }, { "Y": 1056, "X": 992 }, { "Y": 1056, "X": 1120 }, { "Y": 960, "X": 1120 }, { "Y": 960, "X": 1232 }, { "Y": 880, "X": 1232 }, { "Y": 880, "X": 1184 }, { "Y": 832, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "TempRange.OutputPin", "Y": 832, "X": 1104 }, "Name": "TOWELink11", "End": { "ID": "TempGate.EnableInputPin", "Y": 848, "X": 1200 }, "Points": [ { "Y": 832, "X": 1120 }, { "Y": 848, "X": 1120 } ] }, { "Routed": true, "Begin": { "ID": "TempGate.OutputPin", "Y": 832, "X": 1312 }, "Name": "TOWELink12", "End": { "ID": "HumGate.InputPin", "Y": 864, "X": 1408 }, "Points": [ { "Y": 832, "X": 1328 }, { "Y": 864, "X": 1328 } ] }, { "Routed": true, "Begin": { "ID": "HumRange.OutputPin", "Y": 944, "X": 1104 }, "Name": "TOWELink13", "End": { "ID": "HumGate.EnableInputPin", "Y": 880, "X": 1408 }, "Points": [ { "Y": 944, "X": 1120 }, { "Y": 976, "X": 1120 }, { "Y": 976, "X": 1136 }, { "Y": 1040, "X": 1136 }, { "Y": 1040, "X": 1328 }, { "Y": 880, "X": 1328 } ] }, { "Routed": true, "Begin": { "ID": "HumGate.OutputPin", "Y": 864, "X": 1520 }, "Name": "TOWELink14", "End": { "ID": "ProbeFresh.StartInputPin", "Y": 832, "X": 1600 }, "Points": [ { "Y": 864, "X": 1552 }, { "Y": 832, "X": 1552 } ] }, { "Routed": true, "Begin": { "ID": "TempInvalid.OutputPin", "Y": 1104, "X": 1104 }, "Name": "TOWELink15", "End": { "ID": "ProbeFresh.ResetInputPin", "Y": 848, "X": 1600 }, "Points": [ { "Y": 1104, "X": 1120 }, { "Y": 1056, "X": 1120 }, { "Y": 1056, "X": 1104 }, { "Y": 1024, "X": 1104 }, { "Y": 1024, "X": 1088 }, { "Y": 1040, "X": 1088 }, { "Y": 1040, "X": 976 }, { "Y": 1024, "X": 976 }, { "Y": 1024, "X": 880 }, { "Y": 976, "X": 880 }, { "Y": 976, "X": 736 }, { "Y": 544, "X": 736 }, { "Y": 544, "X": 1008 }, { "Y": 480, "X": 1008 }, { "Y": 480, "X": 1568 }, { "Y": 864, "X": 1568 }, { "Y": 864, "X": 1584 }, { "Y": 848, "X": 1584 } ] }, { "Routed": true, "Begin": { "ID": "HumInvalid.OutputPin", "Y": 1104, "X": 1504 }, "Name": "TOWELink16", "End": { "ID": "ProbeFresh.ResetInputPin", "Y": 848, "X": 1600 }, "Points": [ { "Y": 1104, "X": 1520 }, { "Y": 1136, "X": 1520 }, { "Y": 1136, "X": 1648 }, { "Y": 1040, "X": 1648 }, { "Y": 1040, "X": 1584 }, { "Y": 848, "X": 1584 } ] }, { "Routed": true, "Begin": { "ID": "TempInvalid.OutputPin", "Y": 1104, "X": 1104 }, "Name": "TOWELink17", "End": { "ID": "GoodPairs.ResetInputPin", "Y": 944, "X": 1808 }, "Points": [ { "Y": 1104, "X": 1120 }, { "Y": 1056, "X": 1120 }, { "Y": 1056, "X": 1104 }, { "Y": 1024, "X": 1104 }, { "Y": 1024, "X": 1088 }, { "Y": 1040, "X": 1088 }, { "Y": 1040, "X": 976 }, { "Y": 1024, "X": 976 }, { "Y": 1024, "X": 880 }, { "Y": 976, "X": 880 }, { "Y": 976, "X": 736 }, { "Y": 544, "X": 736 }, { "Y": 544, "X": 1008 }, { "Y": 480, "X": 1008 }, { "Y": 480, "X": 1568 }, { "Y": 928, "X": 1568 }, { "Y": 928, "X": 1584 }, { "Y": 912, "X": 1584 }, { "Y": 912, "X": 1776 }, { "Y": 944, "X": 1776 } ] }, { "Routed": true, "Begin": { "ID": "HumInvalid.OutputPin", "Y": 1104, "X": 1504 }, "Name": "TOWELink18", "End": { "ID": "GoodPairs.ResetInputPin", "Y": 944, "X": 1808 }, "Points": [ { "Y": 1104, "X": 1520 }, { "Y": 1136, "X": 1520 }, { "Y": 1136, "X": 1648 }, { "Y": 1040, "X": 1648 }, { "Y": 1040, "X": 1584 }, { "Y": 912, "X": 1584 }, { "Y": 912, "X": 1776 }, { "Y": 944, "X": 1776 } ] }, { "Routed": true, "Begin": { "ID": "FreshInvalid.OutputPin", "Y": 1104, "X": 1904 }, "Name": "TOWELink19", "End": { "ID": "GoodPairs.ResetInputPin", "Y": 944, "X": 1808 }, "Points": [ { "Y": 1104, "X": 1936 }, { "Y": 1040, "X": 1936 }, { "Y": 1040, "X": 1792 }, { "Y": 944, "X": 1792 } ] }, { "Routed": true, "Begin": { "ID": "HumGate.OutputPin", "Y": 864, "X": 1520 }, "Name": "TOWELink20", "End": { "ID": "GoodPairs.InputPin", "Y": 960, "X": 1808 }, "Points": [ { "Y": 864, "X": 1552 }, { "Y": 896, "X": 1552 }, { "Y": 896, "X": 1760 }, { "Y": 960, "X": 1760 } ] }, { "Routed": true, "Begin": { "ID": "TempRange.OutputPin", "Y": 832, "X": 1104 }, "Name": "TOWELink21", "End": { "ID": "TempInvalid.InputPin", "Y": 1104, "X": 1008 }, "Points": [ { "Y": 832, "X": 1120 }, { "Y": 704, "X": 1120 }, { "Y": 704, "X": 1376 }, { "Y": 960, "X": 1376 }, { "Y": 960, "X": 1136 }, { "Y": 992, "X": 1136 }, { "Y": 992, "X": 1088 }, { "Y": 1040, "X": 1088 }, { "Y": 1040, "X": 1072 }, { "Y": 1056, "X": 1072 }, { "Y": 1056, "X": 992 }, { "Y": 1104, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "HumRange.OutputPin", "Y": 944, "X": 1104 }, "Name": "TOWELink22", "End": { "ID": "HumInvalid.InputPin", "Y": 1104, "X": 1408 }, "Points": [ { "Y": 944, "X": 1120 }, { "Y": 976, "X": 1120 }, { "Y": 976, "X": 1136 }, { "Y": 1040, "X": 1136 }, { "Y": 1040, "X": 1328 }, { "Y": 992, "X": 1328 }, { "Y": 992, "X": 1392 }, { "Y": 1104, "X": 1392 } ] }, { "Routed": true, "Begin": { "ID": "ProbeFresh.OutputPin", "Y": 832, "X": 1712 }, "Name": "TOWELink23", "End": { "ID": "FreshInvalid.InputPin", "Y": 1104, "X": 1808 }, "Points": [ { "Y": 832, "X": 2208 }, { "Y": 1296, "X": 2208 }, { "Y": 1296, "X": 1792 }, { "Y": 1104, "X": 1792 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink24", "End": { "ID": "HeatSet.InputPin", "Y": 752, "X": 992 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 }, { "Y": 800, "X": 816 }, { "Y": 752, "X": 816 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink25", "End": { "ID": "HeatClear.InputPin", "Y": 1008, "X": 992 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 1008, "X": 832 } ] }, { "Routed": true, "Begin": { "ID": "HeatSetEvent.OutputPin", "Y": 752, "X": 1264 }, "Name": "TOWELink26", "End": { "ID": "HeatMemory.SetInputPin", "Y": 1264, "X": 896 }, "Points": [ { "Y": 752, "X": 1344 }, { "Y": 272, "X": 1344 }, { "Y": 272, "X": 512 }, { "Y": 976, "X": 512 }, { "Y": 976, "X": 608 }, { "Y": 1120, "X": 608 }, { "Y": 1120, "X": 864 }, { "Y": 1232, "X": 864 }, { "Y": 1232, "X": 880 }, { "Y": 1264, "X": 880 } ] }, { "Routed": true, "Begin": { "ID": "HeatClearEvent.OutputPin", "Y": 1008, "X": 1264 }, "Name": "TOWELink27", "End": { "ID": "HeatMemory.ResetInputPin", "Y": 1280, "X": 896 }, "Points": [ { "Y": 1008, "X": 1280 }, { "Y": 992, "X": 1280 }, { "Y": 992, "X": 1312 }, { "Y": 944, "X": 1312 }, { "Y": 944, "X": 1536 }, { "Y": 496, "X": 1536 }, { "Y": 496, "X": 464 }, { "Y": 1088, "X": 464 }, { "Y": 1088, "X": 624 }, { "Y": 1168, "X": 624 }, { "Y": 1168, "X": 736 }, { "Y": 1312, "X": 736 }, { "Y": 1312, "X": 864 }, { "Y": 1280, "X": 864 } ] }, { "Routed": true, "Begin": { "ID": "HeatSet.OutputPin", "Y": 752, "X": 1072 }, "Name": "TOWELink28", "End": { "ID": "HeatSetEvent.InputPin", "Y": 752, "X": 1152 } }, { "Routed": true, "Begin": { "ID": "HeatClear.OutputPin", "Y": 1008, "X": 1072 }, "Name": "TOWELink29", "End": { "ID": "HeatClearEvent.InputPin", "Y": 1008, "X": 1152 } }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink30", "End": { "ID": "FanSet.InputPin", "Y": 688, "X": 992 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 }, { "Y": 800, "X": 816 }, { "Y": 688, "X": 816 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink31", "End": { "ID": "FanClear.InputPin", "Y": 608, "X": 992 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 }, { "Y": 800, "X": 816 }, { "Y": 608, "X": 816 } ] }, { "Routed": true, "Begin": { "ID": "FanSetEvent.OutputPin", "Y": 672, "X": 1248 }, "Name": "TOWELink32", "End": { "ID": "FanMemory.SetInputPin", "Y": 1360, "X": 912 }, "Points": [ { "Y": 672, "X": 1280 }, { "Y": 288, "X": 1280 }, { "Y": 288, "X": 432 }, { "Y": 1376, "X": 432 }, { "Y": 1376, "X": 592 }, { "Y": 1392, "X": 592 }, { "Y": 1392, "X": 864 }, { "Y": 1344, "X": 864 }, { "Y": 1344, "X": 896 }, { "Y": 1360, "X": 896 } ] }, { "Routed": true, "Begin": { "ID": "FanClearEvent.OutputPin", "Y": 592, "X": 1264 }, "Name": "TOWELink33", "End": { "ID": "FanMemory.ResetInputPin", "Y": 1376, "X": 912 }, "Points": [ { "Y": 592, "X": 1296 }, { "Y": 304, "X": 1296 }, { "Y": 304, "X": 704 }, { "Y": 912, "X": 704 }, { "Y": 912, "X": 624 }, { "Y": 1104, "X": 624 }, { "Y": 1104, "X": 672 }, { "Y": 1152, "X": 672 }, { "Y": 1152, "X": 736 }, { "Y": 1184, "X": 736 }, { "Y": 1184, "X": 752 }, { "Y": 1328, "X": 752 }, { "Y": 1328, "X": 848 }, { "Y": 1376, "X": 848 } ] }, { "Routed": true, "Begin": { "ID": "FanSet.OutputPin", "Y": 688, "X": 1072 }, "Name": "TOWELink34", "End": { "ID": "FanSetEvent.InputPin", "Y": 672, "X": 1152 }, "Points": [ { "Y": 688, "X": 1088 }, { "Y": 672, "X": 1088 } ] }, { "Routed": true, "Begin": { "ID": "FanClear.OutputPin", "Y": 608, "X": 1072 }, "Name": "TOWELink35", "End": { "ID": "FanClearEvent.InputPin", "Y": 592, "X": 1152 }, "Points": [ { "Y": 608, "X": 1088 }, { "Y": 592, "X": 1088 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink36", "End": { "ID": "HotSet.InputPin", "Y": 800, "X": 896 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 752 }, { "Y": 800, "X": 752 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink37", "End": { "ID": "HotClear.InputPin", "Y": 960, "X": 896 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 } ] }, { "Routed": true, "Begin": { "ID": "HotSetEvent.OutputPin", "Y": 928, "X": 1216 }, "Name": "TOWELink38", "End": { "ID": "HotMemory.SetInputPin", "Y": 1184, "X": 912 }, "Points": [ { "Y": 928, "X": 1392 }, { "Y": 816, "X": 1392 }, { "Y": 816, "X": 1408 }, { "Y": 512, "X": 1408 }, { "Y": 512, "X": 496 }, { "Y": 1072, "X": 496 }, { "Y": 1072, "X": 640 }, { "Y": 1136, "X": 640 }, { "Y": 1136, "X": 848 }, { "Y": 1168, "X": 848 }, { "Y": 1168, "X": 896 }, { "Y": 1184, "X": 896 } ] }, { "Routed": true, "Begin": { "ID": "HotClearEvent.OutputPin", "Y": 1184, "X": 1184 }, "Name": "TOWELink39", "End": { "ID": "HotMemory.ResetInputPin", "Y": 1200, "X": 912 }, "Points": [ { "Y": 1184, "X": 1200 }, { "Y": 1168, "X": 1200 }, { "Y": 1168, "X": 1120 }, { "Y": 1136, "X": 1120 }, { "Y": 1136, "X": 896 }, { "Y": 1200, "X": 896 } ] }, { "Routed": true, "Begin": { "ID": "HotSet.OutputPin", "Y": 800, "X": 976 }, "Name": "TOWELink40", "End": { "ID": "HotSetEvent.InputPin", "Y": 928, "X": 1120 }, "Points": [ { "Y": 800, "X": 992 }, { "Y": 880, "X": 992 }, { "Y": 880, "X": 1104 }, { "Y": 928, "X": 1104 } ] }, { "Routed": true, "Begin": { "ID": "HotClear.OutputPin", "Y": 960, "X": 976 }, "Name": "TOWELink41", "End": { "ID": "HotClearEvent.InputPin", "Y": 1184, "X": 1072 }, "Points": [ { "Y": 960, "X": 992 }, { "Y": 912, "X": 992 }, { "Y": 912, "X": 976 }, { "Y": 832, "X": 976 }, { "Y": 832, "X": 992 }, { "Y": 784, "X": 992 }, { "Y": 784, "X": 1104 }, { "Y": 640, "X": 1104 }, { "Y": 640, "X": 272 }, { "Y": 1744, "X": 272 }, { "Y": 1744, "X": 928 }, { "Y": 1728, "X": 928 }, { "Y": 1728, "X": 1184 }, { "Y": 1552, "X": 1184 }, { "Y": 1552, "X": 1056 }, { "Y": 1408, "X": 1056 }, { "Y": 1408, "X": 896 }, { "Y": 1312, "X": 896 }, { "Y": 1312, "X": 1040 }, { "Y": 1232, "X": 1040 }, { "Y": 1232, "X": 1056 }, { "Y": 1184, "X": 1056 } ] }, { "Routed": true, "Begin": { "ID": "GoodPairs.Max.ReachedOutputPin", "Y": 960, "X": 1936 }, "Name": "TOWELink42", "End": { "ID": "InvalidClimate.InputPin", "Y": 960, "X": 2016 } }, { "Routed": true, "Begin": { "ID": "FanMemory.OutputPin", "Y": 1360, "X": 1040 }, "Name": "TOWELink43", "End": { "ID": "NotFanRequest.InputPin", "Y": 1360, "X": 1056 } }, { "Routed": true, "Begin": { "ID": "HotMemory.OutputPin", "Y": 1184, "X": 1040 }, "Name": "TOWELink44", "End": { "ID": "NotHot.InputPin", "Y": 1120, "X": 1136 }, "Points": [ { "Y": 1184, "X": 1056 }, { "Y": 1136, "X": 1056 }, { "Y": 1136, "X": 1120 }, { "Y": 1120, "X": 1120 } ] }, { "Routed": true, "Begin": { "ID": "InvalidClimate.OutputPin", "Y": 960, "X": 2128 }, "Name": "TOWELink45", "End": { "ID": "FanFinal.InputPins._Pin0", "Y": 1856, "X": 1008 }, "Points": [ { "Y": 960, "X": 2160 }, { "Y": 64, "X": 2160 }, { "Y": 64, "X": 96 }, { "Y": 2048, "X": 96 }, { "Y": 2048, "X": 800 }, { "Y": 1920, "X": 800 }, { "Y": 1920, "X": 816 }, { "Y": 1904, "X": 816 }, { "Y": 1904, "X": 832 }, { "Y": 1856, "X": 832 } ] }, { "Routed": true, "Begin": { "ID": "FanMemory.OutputPin", "Y": 1360, "X": 1040 }, "Name": "TOWELink46", "End": { "ID": "FanFinal.InputPins._Pin1", "Y": 1872, "X": 1008 }, "Points": [ { "Y": 1360, "X": 1056 }, { "Y": 1456, "X": 1056 }, { "Y": 1456, "X": 1088 }, { "Y": 1728, "X": 1088 }, { "Y": 1728, "X": 1072 }, { "Y": 1776, "X": 1072 }, { "Y": 1776, "X": 1008 }, { "Y": 1808, "X": 1008 }, { "Y": 1808, "X": 992 }, { "Y": 1872, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "HotMemory.OutputPin", "Y": 1184, "X": 1040 }, "Name": "TOWELink47", "End": { "ID": "FanFinal.InputPins._Pin2", "Y": 1888, "X": 1008 }, "Points": [ { "Y": 1184, "X": 1056 }, { "Y": 1152, "X": 1056 }, { "Y": 1152, "X": 1072 }, { "Y": 1136, "X": 1072 }, { "Y": 1136, "X": 1104 }, { "Y": 1120, "X": 1104 }, { "Y": 1120, "X": 1120 }, { "Y": 1072, "X": 1120 }, { "Y": 1072, "X": 1136 }, { "Y": 1056, "X": 1136 }, { "Y": 1056, "X": 1264 }, { "Y": 1024, "X": 1264 }, { "Y": 1024, "X": 1408 }, { "Y": 960, "X": 1408 }, { "Y": 960, "X": 1616 }, { "Y": 880, "X": 1616 }, { "Y": 880, "X": 1728 }, { "Y": 208, "X": 1728 }, { "Y": 208, "X": 192 }, { "Y": 1872, "X": 192 }, { "Y": 1872, "X": 800 }, { "Y": 1888, "X": 800 } ] }, { "Routed": true, "Begin": { "ID": "FanFinal.OutputPin", "Y": 1840, "X": 1120 }, "Name": "TOWELink48", "End": { "ID": "NotFinalFan.InputPin", "Y": 1776, "X": 1088 }, "Points": [ { "Y": 1840, "X": 1152 }, { "Y": 1808, "X": 1152 }, { "Y": 1808, "X": 1072 }, { "Y": 1776, "X": 1072 } ] }, { "Routed": true, "Begin": { "ID": "GoodPairs.Max.ReachedOutputPin", "Y": 960, "X": 1936 }, "Name": "TOWELink49", "End": { "ID": "HeaterFinal.InputPins._Pin0", "Y": 1968, "X": 1008 }, "Points": [ { "Y": 960, "X": 1952 }, { "Y": 32, "X": 1952 }, { "Y": 32, "X": 64 }, { "Y": 1968, "X": 64 } ] }, { "Routed": true, "Begin": { "ID": "HeatMemory.OutputPin", "Y": 1264, "X": 1024 }, "Name": "TOWELink50", "End": { "ID": "HeaterFinal.InputPins._Pin1", "Y": 1984, "X": 1008 }, "Points": [ { "Y": 1264, "X": 1040 }, { "Y": 1248, "X": 1040 }, { "Y": 1248, "X": 1072 }, { "Y": 1232, "X": 1072 }, { "Y": 1232, "X": 1136 }, { "Y": 1216, "X": 1136 }, { "Y": 1216, "X": 1376 }, { "Y": 1120, "X": 1376 }, { "Y": 1120, "X": 1392 }, { "Y": 1040, "X": 1392 }, { "Y": 1040, "X": 1344 }, { "Y": 976, "X": 1344 }, { "Y": 976, "X": 1392 }, { "Y": 960, "X": 1392 }, { "Y": 960, "X": 1424 }, { "Y": 928, "X": 1424 }, { "Y": 928, "X": 1552 }, { "Y": 944, "X": 1552 }, { "Y": 944, "X": 1600 }, { "Y": 928, "X": 1600 }, { "Y": 928, "X": 1744 }, { "Y": 192, "X": 1744 }, { "Y": 192, "X": 176 }, { "Y": 1984, "X": 176 } ] }, { "Routed": true, "Begin": { "ID": "NotFanRequest.OutputPin", "Y": 1360, "X": 1168 }, "Name": "TOWELink51", "End": { "ID": "HeaterFinal.InputPins._Pin2", "Y": 2000, "X": 1008 }, "Points": [ { "Y": 1360, "X": 1184 }, { "Y": 1392, "X": 1184 }, { "Y": 1392, "X": 1168 }, { "Y": 1456, "X": 1168 }, { "Y": 1456, "X": 1120 }, { "Y": 1536, "X": 1120 }, { "Y": 1536, "X": 1072 }, { "Y": 1744, "X": 1072 }, { "Y": 1744, "X": 1040 }, { "Y": 1824, "X": 1040 }, { "Y": 1824, "X": 992 }, { "Y": 2000, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "NotHot.OutputPin", "Y": 1120, "X": 1216 }, "Name": "TOWELink52", "End": { "ID": "HeaterFinal.InputPins._Pin3", "Y": 2016, "X": 1008 }, "Points": [ { "Y": 1120, "X": 1232 }, { "Y": 1024, "X": 1232 }, { "Y": 1024, "X": 1280 }, { "Y": 992, "X": 1280 }, { "Y": 992, "X": 1296 }, { "Y": 896, "X": 1296 }, { "Y": 896, "X": 1344 }, { "Y": 848, "X": 1344 }, { "Y": 848, "X": 1328 }, { "Y": 144, "X": 1328 }, { "Y": 144, "X": 144 }, { "Y": 2016, "X": 144 } ] }, { "Routed": true, "Begin": { "ID": "NotFinalFan.OutputPin", "Y": 1776, "X": 1184 }, "Name": "TOWELink53", "End": { "ID": "HeaterFinal.InputPins._Pin4", "Y": 2032, "X": 1008 }, "Points": [ { "Y": 1776, "X": 1200 }, { "Y": 1808, "X": 1200 }, { "Y": 1808, "X": 1184 }, { "Y": 1840, "X": 1184 }, { "Y": 1840, "X": 1136 }, { "Y": 1920, "X": 1136 }, { "Y": 1920, "X": 1184 }, { "Y": 2000, "X": 1184 }, { "Y": 2000, "X": 1168 }, { "Y": 2064, "X": 1168 }, { "Y": 2064, "X": 1008 }, { "Y": 2048, "X": 1008 }, { "Y": 2048, "X": 992 }, { "Y": 2032, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "InvalidClimate.OutputPin", "Y": 960, "X": 2128 }, "Name": "TOWELink54", "End": { "ID": "AlarmClimate.InputPins._Pin0", "Y": 1472, "X": 928 }, "Points": [ { "Y": 960, "X": 2160 }, { "Y": 64, "X": 2160 }, { "Y": 64, "X": 96 }, { "Y": 1424, "X": 96 }, { "Y": 1424, "X": 576 }, { "Y": 1472, "X": 576 } ] }, { "Routed": true, "Begin": { "ID": "HotMemory.OutputPin", "Y": 1184, "X": 1040 }, "Name": "TOWELink55", "End": { "ID": "AlarmClimate.InputPins._Pin1", "Y": 1488, "X": 928 }, "Points": [ { "Y": 1184, "X": 1056 }, { "Y": 1200, "X": 1056 }, { "Y": 1200, "X": 1072 }, { "Y": 1232, "X": 1072 }, { "Y": 1232, "X": 1040 }, { "Y": 1296, "X": 1040 }, { "Y": 1296, "X": 1056 }, { "Y": 1312, "X": 1056 }, { "Y": 1312, "X": 1184 }, { "Y": 1488, "X": 1184 }, { "Y": 1488, "X": 1072 }, { "Y": 1520, "X": 1072 }, { "Y": 1520, "X": 912 }, { "Y": 1488, "X": 912 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink56", "End": { "ID": "SoilSample1.SnapshotInputPin", "Y": 1104, "X": 848 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 1392 }, { "Y": 528, "X": 1392 }, { "Y": 528, "X": 544 }, { "Y": 1056, "X": 544 }, { "Y": 1056, "X": 656 }, { "Y": 1104, "X": 656 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item14.OutputPin", "Y": 2000, "X": 1408 }, "Name": "TOWELink57", "End": { "ID": "SoilSample1.InputPin", "Y": 1088, "X": 848 }, "Points": [ { "Y": 2000, "X": 1456 }, { "Y": 1936, "X": 1456 }, { "Y": 1936, "X": 1680 }, { "Y": 3008, "X": 1680 }, { "Y": 3008, "X": 112 }, { "Y": 1040, "X": 112 }, { "Y": 1040, "X": 640 }, { "Y": 976, "X": 640 }, { "Y": 976, "X": 832 }, { "Y": 1088, "X": 832 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink58", "End": { "ID": "SoilSample2.SnapshotInputPin", "Y": 2048, "X": 1488 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 }, { "Y": 1728, "X": 1664 }, { "Y": 1872, "X": 1664 }, { "Y": 1872, "X": 1472 }, { "Y": 2048, "X": 1472 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item15.OutputPin", "Y": 2032, "X": 1408 }, "Name": "TOWELink59", "End": { "ID": "SoilSample2.InputPin", "Y": 2032, "X": 1488 } }, { "Routed": true, "Begin": { "ID": "SoilSample1.OutputPin", "Y": 1088, "X": 976 }, "Name": "TOWELink60", "End": { "ID": "SoilADC1.InputPin", "Y": 1424, "X": 1072 }, "Points": [ { "Y": 1088, "X": 992 }, { "Y": 1120, "X": 992 }, { "Y": 1120, "X": 1008 }, { "Y": 1136, "X": 1008 }, { "Y": 1136, "X": 1056 }, { "Y": 1216, "X": 1056 }, { "Y": 1216, "X": 1152 }, { "Y": 1312, "X": 1152 }, { "Y": 1312, "X": 864 }, { "Y": 1408, "X": 864 }, { "Y": 1408, "X": 1056 }, { "Y": 1424, "X": 1056 } ] }, { "Routed": true, "Begin": { "ID": "SoilSample2.OutputPin", "Y": 2032, "X": 1616 }, "Name": "TOWELink61", "End": { "ID": "SoilADC2.InputPin", "Y": 2032, "X": 1696 } }, { "Routed": true, "Begin": { "ID": "SoilADC1.OutputPin", "Y": 1424, "X": 1152 }, "Name": "TOWELink62", "End": { "ID": "SoilProduct1.InputPin", "Y": 1200, "X": 1232 }, "Points": [ { "Y": 1424, "X": 1184 }, { "Y": 1200, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "SoilProduct1.OutputPin", "Y": 1200, "X": 1328 }, "Name": "TOWELink63", "End": { "ID": "SoilDry1.InputPin", "Y": 1184, "X": 1408 }, "Points": [ { "Y": 1200, "X": 1344 }, { "Y": 1184, "X": 1344 } ] }, { "Routed": true, "Begin": { "ID": "SoilProduct1.OutputPin", "Y": 1200, "X": 1328 }, "Name": "TOWELink64", "End": { "ID": "SoilWet1.InputPin", "Y": 1264, "X": 1424 }, "Points": [ { "Y": 1200, "X": 1344 }, { "Y": 1184, "X": 1344 }, { "Y": 1184, "X": 1392 }, { "Y": 1216, "X": 1392 }, { "Y": 1216, "X": 1408 }, { "Y": 1264, "X": 1408 } ] }, { "Routed": true, "Begin": { "ID": "DryEvent1.OutputPin", "Y": 1184, "X": 1664 }, "Name": "TOWELink65", "End": { "ID": "SoilRequest1.SetInputPin", "Y": 1568, "X": 912 }, "Points": [ { "Y": 1184, "X": 1696 }, { "Y": 1296, "X": 1696 }, { "Y": 1296, "X": 1648 }, { "Y": 1920, "X": 1648 }, { "Y": 1920, "X": 1968 }, { "Y": 2960, "X": 1968 }, { "Y": 2960, "X": 416 }, { "Y": 2080, "X": 416 }, { "Y": 2080, "X": 784 }, { "Y": 1888, "X": 784 }, { "Y": 1888, "X": 800 }, { "Y": 1856, "X": 800 }, { "Y": 1856, "X": 816 }, { "Y": 1568, "X": 816 } ] }, { "Routed": true, "Begin": { "ID": "WetEvent1.OutputPin", "Y": 1264, "X": 1680 }, "Name": "TOWELink66", "End": { "ID": "SoilRequest1.ResetInputPin", "Y": 1584, "X": 912 }, "Points": [ { "Y": 1264, "X": 1744 }, { "Y": 1328, "X": 1744 }, { "Y": 1328, "X": 2272 }, { "Y": 176, "X": 2272 }, { "Y": 176, "X": 160 }, { "Y": 1952, "X": 160 }, { "Y": 1952, "X": 752 }, { "Y": 1856, "X": 752 }, { "Y": 1856, "X": 784 }, { "Y": 1824, "X": 784 }, { "Y": 1824, "X": 832 }, { "Y": 1744, "X": 832 }, { "Y": 1744, "X": 896 }, { "Y": 1584, "X": 896 } ] }, { "Routed": true, "Begin": { "ID": "SoilDry1.OutputPin", "Y": 1184, "X": 1488 }, "Name": "TOWELink67", "End": { "ID": "DryEvent1.InputPin", "Y": 1184, "X": 1568 } }, { "Routed": true, "Begin": { "ID": "SoilWet1.OutputPin", "Y": 1264, "X": 1504 }, "Name": "TOWELink68", "End": { "ID": "WetEvent1.InputPin", "Y": 1264, "X": 1584 } }, { "Routed": true, "Begin": { "ID": "SoilADC2.OutputPin", "Y": 2032, "X": 1776 }, "Name": "TOWELink69", "End": { "ID": "SoilProduct2.InputPin", "Y": 2032, "X": 1856 } }, { "Routed": true, "Begin": { "ID": "SoilProduct2.OutputPin", "Y": 2032, "X": 1952 }, "Name": "TOWELink70", "End": { "ID": "SoilDry2.InputPin", "Y": 2032, "X": 2032 } }, { "Routed": true, "Begin": { "ID": "SoilProduct2.OutputPin", "Y": 2032, "X": 1952 }, "Name": "TOWELink71", "End": { "ID": "SoilWet2.InputPin", "Y": 2096, "X": 2032 }, "Points": [ { "Y": 2032, "X": 2000 }, { "Y": 2096, "X": 2000 } ] }, { "Routed": true, "Begin": { "ID": "DryEvent2.OutputPin", "Y": 2032, "X": 2288 }, "Name": "TOWELink72", "End": { "ID": "SoilRequest2.SetInputPin", "Y": 1264, "X": 736 }, "Points": [ { "Y": 2032, "X": 2704 }, { "Y": 16, "X": 2704 }, { "Y": 16, "X": 528 }, { "Y": 896, "X": 528 }, { "Y": 896, "X": 560 }, { "Y": 1136, "X": 560 }, { "Y": 1136, "X": 656 }, { "Y": 1264, "X": 656 } ] }, { "Routed": true, "Begin": { "ID": "WetEvent2.OutputPin", "Y": 2112, "X": 2288 }, "Name": "TOWELink73", "End": { "ID": "SoilRequest2.ResetInputPin", "Y": 1280, "X": 736 }, "Points": [ { "Y": 2112, "X": 2304 }, { "Y": 3088, "X": 2304 }, { "Y": 3088, "X": 32 }, { "Y": 928, "X": 32 }, { "Y": 928, "X": 704 }, { "Y": 912, "X": 704 }, { "Y": 912, "X": 752 }, { "Y": 928, "X": 752 }, { "Y": 928, "X": 768 }, { "Y": 960, "X": 768 }, { "Y": 960, "X": 848 }, { "Y": 1040, "X": 848 }, { "Y": 1040, "X": 816 }, { "Y": 1104, "X": 816 }, { "Y": 1104, "X": 720 }, { "Y": 1280, "X": 720 } ] }, { "Routed": true, "Begin": { "ID": "SoilDry2.OutputPin", "Y": 2032, "X": 2112 }, "Name": "TOWELink74", "End": { "ID": "DryEvent2.InputPin", "Y": 2032, "X": 2192 } }, { "Routed": true, "Begin": { "ID": "SoilWet2.OutputPin", "Y": 2096, "X": 2112 }, "Name": "TOWELink75", "End": { "ID": "WetEvent2.InputPin", "Y": 2112, "X": 2192 }, "Points": [ { "Y": 2096, "X": 2128 }, { "Y": 2112, "X": 2128 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item3.OutputPin", "Y": 1552, "X": 1408 }, "Name": "TOWELink76", "End": { "ID": "ModeDebounce.InputPin", "Y": 1552, "X": 1488 } }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item4.OutputPin", "Y": 1600, "X": 1408 }, "Name": "TOWELink77", "End": { "ID": "Manual1Debounce.InputPin", "Y": 1616, "X": 1488 }, "Points": [ { "Y": 1600, "X": 1424 }, { "Y": 1616, "X": 1424 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item5.OutputPin", "Y": 1632, "X": 1408 }, "Name": "TOWELink78", "End": { "ID": "Manual2Debounce.InputPin", "Y": 1696, "X": 1488 }, "Points": [ { "Y": 1632, "X": 1440 }, { "Y": 1696, "X": 1440 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item6.OutputPin", "Y": 1680, "X": 1408 }, "Name": "TOWELink79", "End": { "ID": "EmptyDebounce.InputPin", "Y": 1776, "X": 1488 }, "Points": [ { "Y": 1680, "X": 1424 }, { "Y": 1776, "X": 1424 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink80", "End": { "ID": "ModeSample.SnapshotInputPin", "Y": 1568, "X": 1680 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1568, "X": 1664 } ] }, { "Routed": true, "Begin": { "ID": "ModeDebounce.OutputPin", "Y": 1552, "X": 1600 }, "Name": "TOWELink81", "End": { "ID": "ModeSample.InputPin", "Y": 1552, "X": 1680 } }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink82", "End": { "ID": "Manual1Sample.SnapshotInputPin", "Y": 1648, "X": 1696 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 } ] }, { "Routed": true, "Begin": { "ID": "Manual1Debounce.OutputPin", "Y": 1616, "X": 1616 }, "Name": "TOWELink83", "End": { "ID": "Manual1Sample.InputPin", "Y": 1632, "X": 1696 }, "Points": [ { "Y": 1616, "X": 1632 }, { "Y": 1632, "X": 1632 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink84", "End": { "ID": "Manual2Sample.SnapshotInputPin", "Y": 1728, "X": 1696 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 } ] }, { "Routed": true, "Begin": { "ID": "Manual2Debounce.OutputPin", "Y": 1696, "X": 1616 }, "Name": "TOWELink85", "End": { "ID": "Manual2Sample.InputPin", "Y": 1712, "X": 1696 }, "Points": [ { "Y": 1696, "X": 1632 }, { "Y": 1712, "X": 1632 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink86", "End": { "ID": "EmptySample.SnapshotInputPin", "Y": 1808, "X": 1680 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 }, { "Y": 1728, "X": 1664 }, { "Y": 1808, "X": 1664 } ] }, { "Routed": true, "Begin": { "ID": "EmptyDebounce.OutputPin", "Y": 1776, "X": 1600 }, "Name": "TOWELink87", "End": { "ID": "EmptySample.InputPin", "Y": 1792, "X": 1680 }, "Points": [ { "Y": 1776, "X": 1616 }, { "Y": 1792, "X": 1616 } ] }, { "Routed": true, "Begin": { "ID": "BootStart.OutputPin", "Y": 1360, "X": 832 }, "Name": "TOWELink88", "End": { "ID": "BootDelay.StartInputPin", "Y": 1648, "X": 912 }, "Points": [ { "Y": 1360, "X": 880 }, { "Y": 1216, "X": 880 }, { "Y": 1216, "X": 896 }, { "Y": 1136, "X": 896 }, { "Y": 1136, "X": 288 }, { "Y": 2800, "X": 288 }, { "Y": 2800, "X": 1136 }, { "Y": 1792, "X": 1136 }, { "Y": 1792, "X": 1008 }, { "Y": 1696, "X": 1008 }, { "Y": 1696, "X": 896 }, { "Y": 1648, "X": 896 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink89", "End": { "ID": "ManualMode.InputPin", "Y": 1552, "X": 1888 } }, { "Routed": true, "Begin": { "ID": "Manual1Sample.OutputPin", "Y": 1632, "X": 1824 }, "Name": "TOWELink90", "End": { "ID": "Manual1Held.InputPin", "Y": 1632, "X": 1904 } }, { "Routed": true, "Begin": { "ID": "Manual2Sample.OutputPin", "Y": 1712, "X": 1824 }, "Name": "TOWELink91", "End": { "ID": "Manual2Held.InputPin", "Y": 1712, "X": 1904 } }, { "Routed": true, "Begin": { "ID": "EmptySample.OutputPin", "Y": 1792, "X": 1808 }, "Name": "TOWELink92", "End": { "ID": "SourceEmpty.InputPin", "Y": 1792, "X": 1888 } }, { "Routed": true, "Begin": { "ID": "BootDelay.OutputPin", "Y": 1648, "X": 1024 }, "Name": "TOWELink93", "End": { "ID": "BootElapsed.SetInputPin", "Y": 1664, "X": 1040 }, "Points": [ { "Y": 1648, "X": 1040 }, { "Y": 1616, "X": 1040 }, { "Y": 1616, "X": 1184 }, { "Y": 1712, "X": 1184 }, { "Y": 1712, "X": 1024 }, { "Y": 1664, "X": 1024 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink94", "End": { "ID": "ScanReadyGate.InputPin", "Y": 1104, "X": 1232 }, "Points": [ { "Y": 1280, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1360 }, { "Y": 1056, "X": 1360 }, { "Y": 1056, "X": 1216 }, { "Y": 1104, "X": 1216 } ] }, { "Routed": true, "Begin": { "ID": "BootElapsed.OutputPin", "Y": 1664, "X": 1168 }, "Name": "TOWELink95", "End": { "ID": "ScanReadyGate.EnableInputPin", "Y": 1120, "X": 1232 }, "Points": [ { "Y": 1664, "X": 1184 }, { "Y": 1696, "X": 1184 }, { "Y": 1696, "X": 1168 }, { "Y": 1728, "X": 1168 }, { "Y": 1728, "X": 1152 }, { "Y": 1808, "X": 1152 }, { "Y": 1808, "X": 1168 }, { "Y": 1952, "X": 1168 }, { "Y": 1952, "X": 1152 }, { "Y": 2816, "X": 1152 }, { "Y": 2816, "X": 256 }, { "Y": 992, "X": 256 }, { "Y": 992, "X": 864 }, { "Y": 1040, "X": 864 }, { "Y": 1040, "X": 1120 }, { "Y": 1072, "X": 1120 }, { "Y": 1072, "X": 1216 }, { "Y": 1120, "X": 1216 } ] }, { "Routed": true, "Begin": { "ID": "ScanReadyGate.OutputPin", "Y": 1104, "X": 1344 }, "Name": "TOWELink96", "End": { "ID": "InputsReady.SetInputPin", "Y": 1008, "X": 1424 }, "Points": [ { "Y": 1104, "X": 1376 }, { "Y": 1008, "X": 1376 } ] }, { "Routed": true, "Begin": { "ID": "ReleaseSourceGate.OutputPin", "Y": 1184, "X": 2016 }, "Name": "TOWELink97", "End": { "ID": "ManualArmed.SetInputPin", "Y": 1184, "X": 752 }, "Points": [ { "Y": 1184, "X": 2144 }, { "Y": 112, "X": 2144 }, { "Y": 112, "X": 448 }, { "Y": 1008, "X": 448 }, { "Y": 1008, "X": 592 }, { "Y": 1152, "X": 592 }, { "Y": 1152, "X": 688 }, { "Y": 1184, "X": 688 } ] }, { "Routed": true, "Begin": { "ID": "ModeChanged.OutputPin", "Y": 1488, "X": 2000 }, "Name": "TOWELink98", "End": { "ID": "ManualArmed.ResetInputPin", "Y": 1200, "X": 752 }, "Points": [ { "Y": 1488, "X": 2304 }, { "Y": 80, "X": 2304 }, { "Y": 80, "X": 416 }, { "Y": 1024, "X": 416 }, { "Y": 1024, "X": 640 }, { "Y": 1088, "X": 640 }, { "Y": 1088, "X": 704 }, { "Y": 1200, "X": 704 } ] }, { "Routed": true, "Begin": { "ID": "EmptyEvent.OutputPin", "Y": 1792, "X": 2160 }, "Name": "TOWELink99", "End": { "ID": "ManualArmed.ResetInputPin", "Y": 1200, "X": 752 }, "Points": [ { "Y": 1792, "X": 2240 }, { "Y": 1488, "X": 2240 }, { "Y": 1488, "X": 2304 }, { "Y": 80, "X": 2304 }, { "Y": 80, "X": 416 }, { "Y": 1024, "X": 416 }, { "Y": 1024, "X": 576 }, { "Y": 1104, "X": 576 }, { "Y": 1104, "X": 640 }, { "Y": 1088, "X": 640 }, { "Y": 1088, "X": 704 }, { "Y": 1200, "X": 704 } ] }, { "Routed": true, "Begin": { "ID": "ScanReadyGate.OutputPin", "Y": 1104, "X": 1344 }, "Name": "TOWELink100", "End": { "ID": "Release1Gate.InputPin", "Y": 1088, "X": 1520 }, "Points": [ { "Y": 1104, "X": 1376 }, { "Y": 1056, "X": 1376 }, { "Y": 1056, "X": 1504 }, { "Y": 1088, "X": 1504 } ] }, { "Routed": true, "Begin": { "ID": "Manual1Sample.OutputPin", "Y": 1632, "X": 1824 }, "Name": "TOWELink101", "End": { "ID": "Release1Gate.EnableInputPin", "Y": 1104, "X": 1520 }, "Points": [ { "Y": 1632, "X": 1872 }, { "Y": 1440, "X": 1872 }, { "Y": 1440, "X": 1520 }, { "Y": 1136, "X": 1520 }, { "Y": 1136, "X": 1504 }, { "Y": 1104, "X": 1504 } ] }, { "Routed": true, "Begin": { "ID": "Release1Gate.OutputPin", "Y": 1088, "X": 1632 }, "Name": "TOWELink102", "End": { "ID": "Release2Gate.InputPin", "Y": 1088, "X": 1680 } }, { "Routed": true, "Begin": { "ID": "Manual2Sample.OutputPin", "Y": 1712, "X": 1824 }, "Name": "TOWELink103", "End": { "ID": "Release2Gate.EnableInputPin", "Y": 1104, "X": 1680 }, "Points": [ { "Y": 1712, "X": 1856 }, { "Y": 1568, "X": 1856 }, { "Y": 1568, "X": 1824 }, { "Y": 1504, "X": 1824 }, { "Y": 1504, "X": 1760 }, { "Y": 1216, "X": 1760 }, { "Y": 1216, "X": 1680 }, { "Y": 1136, "X": 1680 }, { "Y": 1136, "X": 1664 }, { "Y": 1104, "X": 1664 } ] }, { "Routed": true, "Begin": { "ID": "Release2Gate.OutputPin", "Y": 1088, "X": 1792 }, "Name": "TOWELink104", "End": { "ID": "ReleaseSourceGate.InputPin", "Y": 1184, "X": 1872 }, "Points": [ { "Y": 1088, "X": 1808 }, { "Y": 1056, "X": 1808 }, { "Y": 1056, "X": 1920 }, { "Y": 1136, "X": 1920 }, { "Y": 1136, "X": 1856 }, { "Y": 1184, "X": 1856 } ] }, { "Routed": true, "Begin": { "ID": "EmptySample.OutputPin", "Y": 1792, "X": 1808 }, "Name": "TOWELink105", "End": { "ID": "ReleaseSourceGate.EnableInputPin", "Y": 1200, "X": 1872 }, "Points": [ { "Y": 1792, "X": 1840 }, { "Y": 1200, "X": 1840 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink106", "End": { "ID": "ModeChanged.InputPin", "Y": 1488, "X": 1888 }, "Points": [ { "Y": 1552, "X": 1856 }, { "Y": 1488, "X": 1856 } ] }, { "Routed": true, "Begin": { "ID": "SourceEmpty.OutputPin", "Y": 1792, "X": 1984 }, "Name": "TOWELink107", "End": { "ID": "EmptyEvent.InputPin", "Y": 1792, "X": 2064 } }, { "Routed": true, "Begin": { "ID": "Manual1Held.OutputPin", "Y": 1632, "X": 2000 }, "Name": "TOWELink108", "End": { "ID": "ManualDemand1.InputPins._Pin0", "Y": 1632, "X": 2080 } }, { "Routed": true, "Begin": { "ID": "ManualArmed.OutputPin", "Y": 1184, "X": 880 }, "Name": "TOWELink109", "End": { "ID": "ManualDemand1.InputPins._Pin1", "Y": 1648, "X": 2080 }, "Points": [ { "Y": 1184, "X": 896 }, { "Y": 1152, "X": 896 }, { "Y": 1152, "X": 912 }, { "Y": 992, "X": 912 }, { "Y": 992, "X": 864 }, { "Y": 928, "X": 864 }, { "Y": 928, "X": 720 }, { "Y": 224, "X": 720 }, { "Y": 224, "X": 2256 }, { "Y": 1392, "X": 2256 }, { "Y": 1392, "X": 2064 }, { "Y": 1648, "X": 2064 } ] }, { "Routed": true, "Begin": { "ID": "Manual2Held.OutputPin", "Y": 1712, "X": 2000 }, "Name": "TOWELink110", "End": { "ID": "ManualDemand2.InputPins._Pin0", "Y": 1888, "X": 2080 }, "Points": [ { "Y": 1712, "X": 2016 }, { "Y": 1888, "X": 2016 } ] }, { "Routed": true, "Begin": { "ID": "ManualArmed.OutputPin", "Y": 1184, "X": 880 }, "Name": "TOWELink111", "End": { "ID": "ManualDemand2.InputPins._Pin1", "Y": 1904, "X": 2080 }, "Points": [ { "Y": 1184, "X": 896 }, { "Y": 1152, "X": 896 }, { "Y": 1152, "X": 912 }, { "Y": 992, "X": 912 }, { "Y": 992, "X": 864 }, { "Y": 928, "X": 864 }, { "Y": 928, "X": 720 }, { "Y": 224, "X": 720 }, { "Y": 224, "X": 2256 }, { "Y": 1392, "X": 2256 }, { "Y": 1392, "X": 2064 }, { "Y": 1648, "X": 2064 }, { "Y": 1648, "X": 2048 }, { "Y": 1904, "X": 2048 } ] }, { "Routed": true, "Begin": { "ID": "ManualDemand1.OutputPin", "Y": 1616, "X": 2208 }, "Name": "TOWELink112", "End": { "ID": "Demand1.FalseInputPin", "Y": 1616, "X": 2288 } }, { "Routed": true, "Begin": { "ID": "SoilRequest1.OutputPin", "Y": 1568, "X": 1040 }, "Name": "TOWELink113", "End": { "ID": "Demand1.TrueInputPin", "Y": 1600, "X": 2288 }, "Points": [ { "Y": 1568, "X": 1152 }, { "Y": 1808, "X": 1152 }, { "Y": 1808, "X": 1168 }, { "Y": 1824, "X": 1168 }, { "Y": 1824, "X": 1184 }, { "Y": 1904, "X": 1184 }, { "Y": 1904, "X": 1136 }, { "Y": 1984, "X": 1136 }, { "Y": 1984, "X": 1184 }, { "Y": 2176, "X": 1184 }, { "Y": 2176, "X": 1136 }, { "Y": 2208, "X": 1136 }, { "Y": 2208, "X": 1120 }, { "Y": 2400, "X": 1120 }, { "Y": 2400, "X": 2672 }, { "Y": 1728, "X": 2672 }, { "Y": 1728, "X": 2272 }, { "Y": 1600, "X": 2272 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink114", "End": { "ID": "Demand1.SelectInputPin", "Y": 1632, "X": 2288 }, "Points": [ { "Y": 1552, "X": 1856 }, { "Y": 1376, "X": 1856 }, { "Y": 1376, "X": 2224 }, { "Y": 1632, "X": 2224 } ] }, { "Routed": true, "Begin": { "ID": "ManualDemand2.OutputPin", "Y": 1872, "X": 2208 }, "Name": "TOWELink115", "End": { "ID": "Demand2.FalseInputPin", "Y": 1872, "X": 2288 } }, { "Routed": true, "Begin": { "ID": "SoilRequest2.OutputPin", "Y": 1264, "X": 864 }, "Name": "TOWELink116", "End": { "ID": "Demand2.TrueInputPin", "Y": 1856, "X": 2288 }, "Points": [ { "Y": 1264, "X": 880 }, { "Y": 1392, "X": 880 }, { "Y": 1392, "X": 464 }, { "Y": 2864, "X": 464 }, { "Y": 2864, "X": 2368 }, { "Y": 1984, "X": 2368 }, { "Y": 1984, "X": 2272 }, { "Y": 1856, "X": 2272 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink117", "End": { "ID": "Demand2.SelectInputPin", "Y": 1888, "X": 2288 }, "Points": [ { "Y": 1552, "X": 1856 }, { "Y": 1376, "X": 1856 }, { "Y": 1376, "X": 2224 }, { "Y": 1632, "X": 2224 }, { "Y": 1632, "X": 2256 }, { "Y": 1888, "X": 2256 } ] }, { "Routed": true, "Begin": { "ID": "InputsReady.OutputPin", "Y": 1008, "X": 1552 }, "Name": "TOWELink118", "End": { "ID": "WaterInputsOK.InputPins._Pin0", "Y": 992, "X": 1632 }, "Points": [ { "Y": 1008, "X": 1568 }, { "Y": 992, "X": 1568 } ] }, { "Routed": true, "Begin": { "ID": "EmptySample.OutputPin", "Y": 1792, "X": 1808 }, "Name": "TOWELink119", "End": { "ID": "WaterInputsOK.InputPins._Pin1", "Y": 1008, "X": 1632 }, "Points": [ { "Y": 1792, "X": 1840 }, { "Y": 1280, "X": 1840 }, { "Y": 1280, "X": 2192 }, { "Y": 736, "X": 2192 }, { "Y": 736, "X": 1584 }, { "Y": 880, "X": 1584 }, { "Y": 880, "X": 1600 }, { "Y": 1008, "X": 1600 } ] }, { "Routed": true, "Begin": { "ID": "Demand1.OutputPin", "Y": 1600, "X": 2400 }, "Name": "TOWELink120", "End": { "ID": "Eligible1.InputPins._Pin0", "Y": 1568, "X": 2480 }, "Points": [ { "Y": 1600, "X": 2432 }, { "Y": 1568, "X": 2432 } ] }, { "Routed": true, "Begin": { "ID": "WaterInputsOK.OutputPin", "Y": 976, "X": 1744 }, "Name": "TOWELink121", "End": { "ID": "Eligible1.InputPins._Pin1", "Y": 1584, "X": 2480 }, "Points": [ { "Y": 976, "X": 1760 }, { "Y": 1040, "X": 1760 }, { "Y": 1040, "X": 1664 }, { "Y": 1136, "X": 1664 }, { "Y": 1136, "X": 1776 }, { "Y": 1344, "X": 1776 }, { "Y": 1344, "X": 2416 }, { "Y": 1584, "X": 2416 } ] }, { "Routed": true, "Begin": { "ID": "Demand2.OutputPin", "Y": 1856, "X": 2400 }, "Name": "TOWELink122", "End": { "ID": "Eligible2.InputPins._Pin0", "Y": 1856, "X": 2480 } }, { "Routed": true, "Begin": { "ID": "WaterInputsOK.OutputPin", "Y": 976, "X": 1744 }, "Name": "TOWELink123", "End": { "ID": "Eligible2.InputPins._Pin1", "Y": 1872, "X": 2480 }, "Points": [ { "Y": 976, "X": 1760 }, { "Y": 1040, "X": 1760 }, { "Y": 1040, "X": 1664 }, { "Y": 1136, "X": 1664 }, { "Y": 1136, "X": 1776 }, { "Y": 1344, "X": 1776 }, { "Y": 1344, "X": 2416 }, { "Y": 1584, "X": 2416 }, { "Y": 1584, "X": 2448 }, { "Y": 1872, "X": 2448 } ] }, { "Routed": true, "Begin": { "ID": "InputsReady.OutputPin", "Y": 1008, "X": 1552 }, "Name": "TOWELink124", "End": { "ID": "IrrigationController.Inputs._Item0.InputPin", "Y": 1488, "X": 752 }, "Points": [ { "Y": 1008, "X": 1568 }, { "Y": 992, "X": 1568 }, { "Y": 992, "X": 1616 }, { "Y": 1040, "X": 1616 }, { "Y": 1040, "X": 1776 }, { "Y": 928, "X": 1776 }, { "Y": 928, "X": 1792 }, { "Y": 96, "X": 1792 }, { "Y": 96, "X": 352 }, { "Y": 1488, "X": 352 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink125", "End": { "ID": "IrrigationController.Inputs._Item1.InputPin", "Y": 1520, "X": 752 }, "Points": [ { "Y": 1552, "X": 1856 }, { "Y": 1376, "X": 1856 }, { "Y": 1376, "X": 2288 }, { "Y": 160, "X": 2288 }, { "Y": 160, "X": 400 }, { "Y": 1520, "X": 400 } ] }, { "Routed": true, "Begin": { "ID": "EmptySample.OutputPin", "Y": 1792, "X": 1808 }, "Name": "TOWELink126", "End": { "ID": "IrrigationController.Inputs._Item2.InputPin", "Y": 1552, "X": 752 }, "Points": [ { "Y": 1792, "X": 1840 }, { "Y": 1280, "X": 1840 }, { "Y": 1280, "X": 2192 }, { "Y": 736, "X": 2192 }, { "Y": 736, "X": 1584 }, { "Y": 320, "X": 1584 }, { "Y": 320, "X": 384 }, { "Y": 1440, "X": 384 }, { "Y": 1440, "X": 592 }, { "Y": 1552, "X": 592 } ] }, { "Routed": true, "Begin": { "ID": "Manual1Held.OutputPin", "Y": 1632, "X": 2000 }, "Name": "TOWELink127", "End": { "ID": "IrrigationController.Inputs._Item3.InputPin", "Y": 1584, "X": 752 }, "Points": [ { "Y": 1632, "X": 2032 }, { "Y": 1984, "X": 2032 }, { "Y": 1984, "X": 1984 }, { "Y": 2976, "X": 1984 }, { "Y": 2976, "X": 400 }, { "Y": 1584, "X": 400 } ] }, { "Routed": true, "Begin": { "ID": "Manual2Held.OutputPin", "Y": 1712, "X": 2000 }, "Name": "TOWELink128", "End": { "ID": "IrrigationController.Inputs._Item4.InputPin", "Y": 1616, "X": 752 }, "Points": [ { "Y": 1712, "X": 2016 }, { "Y": 2992, "X": 2016 }, { "Y": 2992, "X": 352 }, { "Y": 1712, "X": 352 }, { "Y": 1712, "X": 528 }, { "Y": 1616, "X": 528 } ] }, { "Routed": true, "Begin": { "ID": "SoilRequest1.OutputPin", "Y": 1568, "X": 1040 }, "Name": "TOWELink129", "End": { "ID": "IrrigationController.Inputs._Item5.InputPin", "Y": 1648, "X": 752 }, "Points": [ { "Y": 1568, "X": 1152 }, { "Y": 1808, "X": 1152 }, { "Y": 1808, "X": 1168 }, { "Y": 1824, "X": 1168 }, { "Y": 1824, "X": 1184 }, { "Y": 1904, "X": 1184 }, { "Y": 1904, "X": 1136 }, { "Y": 1984, "X": 1136 }, { "Y": 1984, "X": 1184 }, { "Y": 2176, "X": 1184 }, { "Y": 2176, "X": 1136 }, { "Y": 2208, "X": 1136 }, { "Y": 2208, "X": 1120 }, { "Y": 2768, "X": 1120 }, { "Y": 2768, "X": 528 }, { "Y": 1760, "X": 528 }, { "Y": 1760, "X": 736 }, { "Y": 1648, "X": 736 } ] }, { "Routed": true, "Begin": { "ID": "SoilRequest2.OutputPin", "Y": 1264, "X": 864 }, "Name": "TOWELink130", "End": { "ID": "IrrigationController.Inputs._Item6.InputPin", "Y": 1680, "X": 752 }, "Points": [ { "Y": 1264, "X": 880 }, { "Y": 1392, "X": 880 }, { "Y": 1392, "X": 464 }, { "Y": 1728, "X": 464 }, { "Y": 1728, "X": 736 }, { "Y": 1680, "X": 736 } ] }, { "Routed": true, "Begin": { "ID": "ScanReadyGate.OutputPin", "Y": 1104, "X": 1344 }, "Name": "TOWELink131", "End": { "ID": "IrrigationController.ClockInputPin", "Y": 1712, "X": 752 }, "Points": [ { "Y": 1104, "X": 1376 }, { "Y": 912, "X": 1376 }, { "Y": 912, "X": 1552 }, { "Y": 848, "X": 1552 }, { "Y": 848, "X": 1568 }, { "Y": 816, "X": 1568 }, { "Y": 816, "X": 1552 }, { "Y": 128, "X": 1552 }, { "Y": 128, "X": 368 }, { "Y": 1792, "X": 368 }, { "Y": 1792, "X": 672 }, { "Y": 1776, "X": 672 }, { "Y": 1776, "X": 688 }, { "Y": 1712, "X": 688 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item0.OutputPin", "Y": 1488, "X": 912 }, "Name": "TOWELink132", "End": { "ID": "Arduino.Digital._Item2.DigitalInputPin", "Y": 1520, "X": 1200 }, "Points": [ { "Y": 1488, "X": 928 }, { "Y": 1520, "X": 928 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item1.OutputPin", "Y": 1520, "X": 912 }, "Name": "TOWELink133", "End": { "ID": "Arduino.Digital._Item8.DigitalInputPin", "Y": 1760, "X": 1200 }, "Points": [ { "Y": 1520, "X": 928 }, { "Y": 1712, "X": 928 }, { "Y": 1712, "X": 992 }, { "Y": 1744, "X": 992 }, { "Y": 1744, "X": 1072 }, { "Y": 1712, "X": 1072 }, { "Y": 1712, "X": 1168 }, { "Y": 1760, "X": 1168 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item2.OutputPin", "Y": 1552, "X": 912 }, "Name": "TOWELink134", "End": { "ID": "Arduino.Digital._Item9.DigitalInputPin", "Y": 1792, "X": 1200 }, "Points": [ { "Y": 1552, "X": 928 }, { "Y": 1696, "X": 928 }, { "Y": 1696, "X": 944 }, { "Y": 1744, "X": 944 }, { "Y": 1744, "X": 832 }, { "Y": 1920, "X": 832 }, { "Y": 1920, "X": 992 }, { "Y": 2208, "X": 992 }, { "Y": 2208, "X": 1184 }, { "Y": 1792, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink135", "End": { "ID": "OutsideLightSample.SnapshotInputPin", "Y": 2128, "X": 1472 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 }, { "Y": 1728, "X": 1664 }, { "Y": 1872, "X": 1664 }, { "Y": 1872, "X": 1472 }, { "Y": 2048, "X": 1472 }, { "Y": 2048, "X": 1456 }, { "Y": 2128, "X": 1456 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item16.OutputPin", "Y": 2064, "X": 1408 }, "Name": "TOWELink136", "End": { "ID": "OutsideLightSample.InputPin", "Y": 2112, "X": 1472 }, "Points": [ { "Y": 2064, "X": 1440 }, { "Y": 2112, "X": 1440 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink137", "End": { "ID": "InsideLightSample.SnapshotInputPin", "Y": 2224, "X": 1488 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 2240 }, { "Y": 1312, "X": 2240 }, { "Y": 1312, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 }, { "Y": 1728, "X": 1664 }, { "Y": 1872, "X": 1664 }, { "Y": 1872, "X": 1472 }, { "Y": 2048, "X": 1472 }, { "Y": 2048, "X": 1456 }, { "Y": 2224, "X": 1456 } ] }, { "Routed": true, "Begin": { "ID": "Arduino.Digital._Item17.OutputPin", "Y": 2096, "X": 1408 }, "Name": "TOWELink138", "End": { "ID": "InsideLightSample.InputPin", "Y": 2208, "X": 1488 }, "Points": [ { "Y": 2096, "X": 1424 }, { "Y": 2208, "X": 1424 } ] }, { "Routed": true, "Begin": { "ID": "OutsideLightSample.OutputPin", "Y": 2112, "X": 1616 }, "Name": "TOWELink139", "End": { "ID": "OutsideLightADC.InputPin", "Y": 2160, "X": 1696 }, "Points": [ { "Y": 2112, "X": 1648 }, { "Y": 2160, "X": 1648 } ] }, { "Routed": true, "Begin": { "ID": "InsideLightSample.OutputPin", "Y": 2208, "X": 1616 }, "Name": "TOWELink140", "End": { "ID": "InsideLightADC.InputPin", "Y": 2224, "X": 1696 }, "Points": [ { "Y": 2208, "X": 1632 }, { "Y": 2224, "X": 1632 } ] }, { "Routed": true, "Begin": { "ID": "ProbeTick.OutputPin", "Y": 1808, "X": 768 }, "Name": "TOWELink141", "End": { "ID": "ProbeClock.ClockInputPin", "Y": 1792, "X": 848 }, "Points": [ { "Y": 1808, "X": 784 }, { "Y": 1792, "X": 784 } ] }, { "Routed": true, "Begin": { "ID": "ProbeClock.OutputPin", "Y": 1856, "X": 992 }, "Name": "TOWELink142", "End": { "ID": "LightingController.Inputs._Item0.InputPin", "Y": 1248, "X": 544 }, "Points": [ { "Y": 1856, "X": 1008 }, { "Y": 1872, "X": 1008 }, { "Y": 1872, "X": 768 }, { "Y": 1920, "X": 768 }, { "Y": 1920, "X": 416 }, { "Y": 1248, "X": 416 } ] }, { "Routed": true, "Begin": { "ID": "OutsideLightADC.OutputPin", "Y": 2160, "X": 1824 }, "Name": "TOWELink143", "End": { "ID": "LightingController.Inputs._Item1.InputPin", "Y": 1280, "X": 544 }, "Points": [ { "Y": 2160, "X": 1856 }, { "Y": 2928, "X": 1856 }, { "Y": 2928, "X": 576 }, { "Y": 1568, "X": 576 }, { "Y": 1568, "X": 528 }, { "Y": 1280, "X": 528 } ] }, { "Routed": true, "Begin": { "ID": "InsideLightADC.OutputPin", "Y": 2224, "X": 1808 }, "Name": "TOWELink144", "End": { "ID": "LightingController.Inputs._Item2.InputPin", "Y": 1312, "X": 544 }, "Points": [ { "Y": 2224, "X": 1824 }, { "Y": 2944, "X": 1824 }, { "Y": 2944, "X": 48 }, { "Y": 1312, "X": 48 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink145", "End": { "ID": "LightingController.ClockInputPin", "Y": 1344, "X": 544 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1168 }, { "Y": 1216, "X": 1168 }, { "Y": 1216, "X": 1200 }, { "Y": 1152, "X": 1200 }, { "Y": 1152, "X": 1216 }, { "Y": 1056, "X": 1216 }, { "Y": 1056, "X": 1296 }, { "Y": 1008, "X": 1296 }, { "Y": 1008, "X": 1360 }, { "Y": 720, "X": 1360 }, { "Y": 720, "X": 1392 }, { "Y": 528, "X": 1392 }, { "Y": 528, "X": 544 }, { "Y": 1056, "X": 544 }, { "Y": 1056, "X": 448 }, { "Y": 1344, "X": 448 } ] }, { "Routed": true, "Begin": { "ID": "LightingController.Outputs._Item0.OutputPin", "Y": 1248, "X": 720 }, "Name": "TOWELink146", "End": { "ID": "Arduino.Digital._Item12.DigitalInputPin", "Y": 1936, "X": 1200 }, "Points": [ { "Y": 1248, "X": 736 }, { "Y": 1216, "X": 736 }, { "Y": 1216, "X": 720 }, { "Y": 1152, "X": 720 }, { "Y": 1152, "X": 224 }, { "Y": 2848, "X": 224 }, { "Y": 2848, "X": 1168 }, { "Y": 1920, "X": 1168 }, { "Y": 1920, "X": 1184 }, { "Y": 1936, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "AlarmClimate.OutputPin", "Y": 1456, "X": 1040 }, "Name": "TOWELink147", "End": { "ID": "FinalAlarm.InputPins._Pin0", "Y": 2128, "X": 1008 }, "Points": [ { "Y": 1456, "X": 1056 }, { "Y": 1472, "X": 1056 }, { "Y": 1472, "X": 1104 }, { "Y": 1600, "X": 1104 }, { "Y": 1600, "X": 1056 }, { "Y": 1744, "X": 1056 }, { "Y": 1744, "X": 864 }, { "Y": 1760, "X": 864 }, { "Y": 1760, "X": 816 }, { "Y": 1904, "X": 816 }, { "Y": 1904, "X": 544 }, { "Y": 2752, "X": 544 }, { "Y": 2752, "X": 1024 }, { "Y": 2208, "X": 1024 }, { "Y": 2208, "X": 992 }, { "Y": 2128, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "SourceEmpty.OutputPin", "Y": 1792, "X": 1984 }, "Name": "TOWELink148", "End": { "ID": "FinalAlarm.InputPins._Pin1", "Y": 2144, "X": 1008 }, "Points": [ { "Y": 1792, "X": 2000 }, { "Y": 1904, "X": 2000 }, { "Y": 1904, "X": 1664 }, { "Y": 2384, "X": 1664 }, { "Y": 2384, "X": 1104 }, { "Y": 2256, "X": 1104 }, { "Y": 2256, "X": 1056 }, { "Y": 2208, "X": 1056 }, { "Y": 2208, "X": 992 }, { "Y": 2144, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item3.OutputPin", "Y": 1584, "X": 912 }, "Name": "TOWELink149", "End": { "ID": "FinalAlarm.InputPins._Pin2", "Y": 2160, "X": 1008 }, "Points": [ { "Y": 1584, "X": 928 }, { "Y": 1696, "X": 928 }, { "Y": 1696, "X": 960 }, { "Y": 1744, "X": 960 }, { "Y": 1744, "X": 1008 }, { "Y": 1760, "X": 1008 }, { "Y": 1760, "X": 1056 }, { "Y": 1792, "X": 1056 }, { "Y": 1792, "X": 1136 }, { "Y": 1824, "X": 1136 }, { "Y": 1824, "X": 1152 }, { "Y": 1968, "X": 1152 }, { "Y": 1968, "X": 1136 }, { "Y": 2096, "X": 1136 }, { "Y": 2096, "X": 1168 }, { "Y": 2224, "X": 1168 }, { "Y": 2224, "X": 992 }, { "Y": 2160, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "LightingController.Outputs._Item1.OutputPin", "Y": 1280, "X": 720 }, "Name": "TOWELink150", "End": { "ID": "FinalAlarm.InputPins._Pin3", "Y": 2176, "X": 1008 }, "Points": [ { "Y": 1280, "X": 736 }, { "Y": 1168, "X": 736 }, { "Y": 1168, "X": 336 }, { "Y": 2784, "X": 336 }, { "Y": 2784, "X": 1008 }, { "Y": 2192, "X": 1008 }, { "Y": 2192, "X": 992 }, { "Y": 2176, "X": 992 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.TemperatureOutputPin", "Y": 1040, "X": 816 }, "Name": "TOWELink151", "End": { "ID": "StatusDisplay.Inputs._Item0.InputPin", "Y": 2000, "X": 816 }, "Points": [ { "Y": 1040, "X": 832 }, { "Y": 960, "X": 832 }, { "Y": 960, "X": 304 }, { "Y": 2000, "X": 304 } ] }, { "Routed": true, "Begin": { "ID": "QueuedDHT.HumidityOutputPin", "Y": 1056, "X": 816 }, "Name": "TOWELink152", "End": { "ID": "StatusDisplay.Inputs._Item1.InputPin", "Y": 2032, "X": 816 }, "Points": [ { "Y": 1056, "X": 832 }, { "Y": 1120, "X": 832 }, { "Y": 1120, "X": 320 }, { "Y": 2032, "X": 320 } ] }, { "Routed": true, "Begin": { "ID": "SoilADC1.OutputPin", "Y": 1424, "X": 1152 }, "Name": "TOWELink153", "End": { "ID": "StatusDisplay.Inputs._Item2.InputPin", "Y": 2064, "X": 816 }, "Points": [ { "Y": 1424, "X": 1168 }, { "Y": 1440, "X": 1168 }, { "Y": 1440, "X": 1152 }, { "Y": 1536, "X": 1152 }, { "Y": 1536, "X": 1136 }, { "Y": 1600, "X": 1136 }, { "Y": 1600, "X": 1120 }, { "Y": 1616, "X": 1120 }, { "Y": 1616, "X": 1024 }, { "Y": 1696, "X": 1024 }, { "Y": 1696, "X": 992 }, { "Y": 1728, "X": 992 }, { "Y": 1728, "X": 816 }, { "Y": 1744, "X": 816 }, { "Y": 1744, "X": 784 }, { "Y": 1760, "X": 784 }, { "Y": 1760, "X": 672 }, { "Y": 1776, "X": 672 }, { "Y": 1776, "X": 656 }, { "Y": 2064, "X": 656 } ] }, { "Routed": true, "Begin": { "ID": "SoilADC2.OutputPin", "Y": 2032, "X": 1776 }, "Name": "TOWELink154", "End": { "ID": "StatusDisplay.Inputs._Item3.InputPin", "Y": 2096, "X": 816 }, "Points": [ { "Y": 2032, "X": 1840 }, { "Y": 2912, "X": 1840 }, { "Y": 2912, "X": 512 }, { "Y": 2096, "X": 512 } ] }, { "Routed": true, "Begin": { "ID": "OutsideLightADC.OutputPin", "Y": 2160, "X": 1824 }, "Name": "TOWELink155", "End": { "ID": "StatusDisplay.Inputs._Item4.InputPin", "Y": 2128, "X": 816 }, "Points": [ { "Y": 2160, "X": 1856 }, { "Y": 2928, "X": 1856 }, { "Y": 2928, "X": 576 }, { "Y": 2128, "X": 576 } ] }, { "Routed": true, "Begin": { "ID": "InsideLightADC.OutputPin", "Y": 2224, "X": 1808 }, "Name": "TOWELink156", "End": { "ID": "StatusDisplay.Inputs._Item5.InputPin", "Y": 2160, "X": 816 }, "Points": [ { "Y": 2224, "X": 1824 }, { "Y": 2944, "X": 1824 }, { "Y": 2944, "X": 592 }, { "Y": 2160, "X": 592 } ] }, { "Routed": true, "Begin": { "ID": "ProbeClock.OutputPin", "Y": 1856, "X": 992 }, "Name": "TOWELink157", "End": { "ID": "StatusDisplay.Inputs._Item6.InputPin", "Y": 2192, "X": 816 }, "Points": [ { "Y": 1856, "X": 1008 }, { "Y": 1920, "X": 1008 }, { "Y": 1920, "X": 688 }, { "Y": 2192, "X": 688 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item3.OutputPin", "Y": 1584, "X": 912 }, "Name": "TOWELink158", "End": { "ID": "StatusDisplay.Inputs._Item7.InputPin", "Y": 2224, "X": 816 }, "Points": [ { "Y": 1584, "X": 928 }, { "Y": 1728, "X": 928 }, { "Y": 1728, "X": 880 }, { "Y": 1776, "X": 880 }, { "Y": 1776, "X": 784 }, { "Y": 1888, "X": 784 }, { "Y": 1888, "X": 672 }, { "Y": 2224, "X": 672 } ] }, { "Routed": true, "Begin": { "ID": "SourceEmpty.OutputPin", "Y": 1792, "X": 1984 }, "Name": "TOWELink159", "End": { "ID": "StatusDisplay.Inputs._Item8.InputPin", "Y": 2256, "X": 816 }, "Points": [ { "Y": 1792, "X": 2000 }, { "Y": 1904, "X": 2000 }, { "Y": 1904, "X": 1664 }, { "Y": 2384, "X": 1664 }, { "Y": 2384, "X": 1200 }, { "Y": 3024, "X": 1200 }, { "Y": 3024, "X": 656 }, { "Y": 2256, "X": 656 } ] }, { "Routed": true, "Begin": { "ID": "InvalidClimate.OutputPin", "Y": 960, "X": 2128 }, "Name": "TOWELink160", "End": { "ID": "StatusDisplay.Inputs._Item9.InputPin", "Y": 2288, "X": 816 }, "Points": [ { "Y": 960, "X": 2160 }, { "Y": 64, "X": 2160 }, { "Y": 64, "X": 96 }, { "Y": 2048, "X": 96 }, { "Y": 2048, "X": 752 }, { "Y": 2288, "X": 752 } ] }, { "Routed": true, "Begin": { "ID": "HotMemory.OutputPin", "Y": 1184, "X": 1040 }, "Name": "TOWELink161", "End": { "ID": "StatusDisplay.Inputs._Item10.InputPin", "Y": 2320, "X": 816 }, "Points": [ { "Y": 1184, "X": 1056 }, { "Y": 1152, "X": 1056 }, { "Y": 1152, "X": 1072 }, { "Y": 1136, "X": 1072 }, { "Y": 1136, "X": 1104 }, { "Y": 1120, "X": 1104 }, { "Y": 1120, "X": 1120 }, { "Y": 1072, "X": 1120 }, { "Y": 1072, "X": 1136 }, { "Y": 1056, "X": 1136 }, { "Y": 1056, "X": 1264 }, { "Y": 1024, "X": 1264 }, { "Y": 1024, "X": 1408 }, { "Y": 960, "X": 1408 }, { "Y": 960, "X": 1616 }, { "Y": 880, "X": 1616 }, { "Y": 880, "X": 1728 }, { "Y": 208, "X": 1728 }, { "Y": 208, "X": 192 }, { "Y": 1872, "X": 192 }, { "Y": 1872, "X": 624 }, { "Y": 2320, "X": 624 } ] }, { "Routed": true, "Begin": { "ID": "LightingController.Outputs._Item1.OutputPin", "Y": 1280, "X": 720 }, "Name": "TOWELink162", "End": { "ID": "StatusDisplay.Inputs._Item11.InputPin", "Y": 2352, "X": 816 }, "Points": [ { "Y": 1280, "X": 736 }, { "Y": 1168, "X": 736 }, { "Y": 1168, "X": 336 }, { "Y": 2352, "X": 336 } ] }, { "Routed": true, "Begin": { "ID": "ModeSample.OutputPin", "Y": 1552, "X": 1808 }, "Name": "TOWELink163", "End": { "ID": "StatusDisplay.Inputs._Item12.InputPin", "Y": 2384, "X": 816 }, "Points": [ { "Y": 1552, "X": 1856 }, { "Y": 1376, "X": 1856 }, { "Y": 1376, "X": 2288 }, { "Y": 160, "X": 2288 }, { "Y": 160, "X": 400 }, { "Y": 1520, "X": 400 }, { "Y": 1520, "X": 544 }, { "Y": 1632, "X": 544 }, { "Y": 1632, "X": 592 }, { "Y": 2144, "X": 592 }, { "Y": 2144, "X": 656 }, { "Y": 2240, "X": 656 }, { "Y": 2240, "X": 672 }, { "Y": 2384, "X": 672 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item1.OutputPin", "Y": 1520, "X": 912 }, "Name": "TOWELink164", "End": { "ID": "StatusDisplay.Inputs._Item13.InputPin", "Y": 2416, "X": 816 }, "Points": [ { "Y": 1520, "X": 928 }, { "Y": 1392, "X": 928 }, { "Y": 1392, "X": 880 }, { "Y": 1376, "X": 880 }, { "Y": 1376, "X": 848 }, { "Y": 1408, "X": 848 }, { "Y": 1408, "X": 496 }, { "Y": 2416, "X": 496 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item2.OutputPin", "Y": 1552, "X": 912 }, "Name": "TOWELink165", "End": { "ID": "StatusDisplay.Inputs._Item14.InputPin", "Y": 2448, "X": 816 }, "Points": [ { "Y": 1552, "X": 928 }, { "Y": 1696, "X": 928 }, { "Y": 1696, "X": 944 }, { "Y": 1744, "X": 944 }, { "Y": 1744, "X": 832 }, { "Y": 1856, "X": 832 }, { "Y": 1856, "X": 560 }, { "Y": 2448, "X": 560 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item0.OutputPin", "Y": 1488, "X": 912 }, "Name": "TOWELink166", "End": { "ID": "StatusDisplay.Inputs._Item15.InputPin", "Y": 2480, "X": 816 }, "Points": [ { "Y": 1488, "X": 928 }, { "Y": 1472, "X": 928 }, { "Y": 1472, "X": 384 }, { "Y": 2480, "X": 384 } ] }, { "Routed": true, "Begin": { "ID": "LightingController.Outputs._Item0.OutputPin", "Y": 1248, "X": 720 }, "Name": "TOWELink167", "End": { "ID": "StatusDisplay.Inputs._Item18.InputPin", "Y": 2576, "X": 816 }, "Points": [ { "Y": 1248, "X": 736 }, { "Y": 1216, "X": 736 }, { "Y": 1216, "X": 720 }, { "Y": 1152, "X": 720 }, { "Y": 1152, "X": 224 }, { "Y": 2576, "X": 224 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item4.OutputPin", "Y": 1616, "X": 912 }, "Name": "TOWELink168", "End": { "ID": "StatusDisplay.Inputs._Item19.InputPin", "Y": 2608, "X": 816 }, "Points": [ { "Y": 1616, "X": 928 }, { "Y": 1696, "X": 928 }, { "Y": 1696, "X": 944 }, { "Y": 1712, "X": 944 }, { "Y": 1712, "X": 800 }, { "Y": 1760, "X": 800 }, { "Y": 1760, "X": 768 }, { "Y": 1744, "X": 768 }, { "Y": 1744, "X": 640 }, { "Y": 2608, "X": 640 } ] }, { "Routed": true, "Begin": { "ID": "IrrigationController.Outputs._Item5.OutputPin", "Y": 1648, "X": 912 }, "Name": "TOWELink169", "End": { "ID": "StatusDisplay.Inputs._Item20.InputPin", "Y": 2640, "X": 816 }, "Points": [ { "Y": 1648, "X": 928 }, { "Y": 1696, "X": 928 }, { "Y": 1696, "X": 944 }, { "Y": 1712, "X": 944 }, { "Y": 1712, "X": 912 }, { "Y": 1744, "X": 912 }, { "Y": 1744, "X": 800 }, { "Y": 1840, "X": 800 }, { "Y": 1840, "X": 736 }, { "Y": 2112, "X": 736 }, { "Y": 2112, "X": 608 }, { "Y": 2640, "X": 608 } ] }, { "Routed": true, "Begin": { "ID": "InputsReady.OutputPin", "Y": 1008, "X": 1552 }, "Name": "TOWELink170", "End": { "ID": "StatusDisplay.Inputs._Item21.InputPin", "Y": 2672, "X": 816 }, "Points": [ { "Y": 1008, "X": 1568 }, { "Y": 832, "X": 1568 }, { "Y": 832, "X": 1520 }, { "Y": 448, "X": 1520 }, { "Y": 448, "X": 1792 }, { "Y": 96, "X": 1792 }, { "Y": 96, "X": 16 }, { "Y": 2672, "X": 16 } ] }, { "Routed": true, "Begin": { "ID": "SoilClock.OutputPin", "Y": 1280, "X": 1136 }, "Name": "TOWELink171", "End": { "ID": "StatusDisplay.ClockInputPin", "Y": 2704, "X": 816 }, "Points": [ { "Y": 1280, "X": 1152 }, { "Y": 1248, "X": 1152 }, { "Y": 1248, "X": 1184 }, { "Y": 1232, "X": 1184 }, { "Y": 1232, "X": 1200 }, { "Y": 1168, "X": 1200 }, { "Y": 1168, "X": 1344 }, { "Y": 1152, "X": 1344 }, { "Y": 1152, "X": 1392 }, { "Y": 1136, "X": 1392 }, { "Y": 1136, "X": 1504 }, { "Y": 1152, "X": 1504 }, { "Y": 1152, "X": 1536 }, { "Y": 1392, "X": 1536 }, { "Y": 1392, "X": 1664 }, { "Y": 1648, "X": 1664 }, { "Y": 1648, "X": 1680 }, { "Y": 1728, "X": 1680 }, { "Y": 1728, "X": 1664 }, { "Y": 1872, "X": 1664 }, { "Y": 1872, "X": 1472 }, { "Y": 2048, "X": 1472 }, { "Y": 2048, "X": 1456 }, { "Y": 3040, "X": 1456 }, { "Y": 3040, "X": 800 }, { "Y": 2704, "X": 800 } ] }, { "Routed": true, "Begin": { "ID": "StatusDisplay.Outputs._Item0.OutputPin", "Y": 2000, "X": 976 }, "Name": "TOWELink172", "End": { "ID": "ProbeDisplay.Elements._Item0.InputPin", "Y": 1456, "X": 608 }, "Points": [ { "Y": 2000, "X": 992 }, { "Y": 1936, "X": 992 }, { "Y": 1936, "X": 848 }, { "Y": 1904, "X": 848 }, { "Y": 1904, "X": 800 }, { "Y": 1936, "X": 800 }, { "Y": 1936, "X": 512 }, { "Y": 1456, "X": 512 } ] }, { "Routed": true, "Begin": { "ID": "StatusDisplay.Outputs._Item1.OutputPin", "Y": 2032, "X": 976 }, "Name": "TOWELink173", "End": { "ID": "ProbeDisplay.Elements._Item1.InputPin", "Y": 1504, "X": 608 }, "Points": [ { "Y": 2032, "X": 992 }, { "Y": 2048, "X": 992 }, { "Y": 2048, "X": 1024 }, { "Y": 2224, "X": 1024 }, { "Y": 2224, "X": 1040 }, { "Y": 2896, "X": 1040 }, { "Y": 2896, "X": 432 }, { "Y": 1504, "X": 432 } ] }, { "Routed": true, "Begin": { "ID": "StatusDisplay.Outputs._Item2.OutputPin", "Y": 2064, "X": 976 }, "Name": "TOWELink174", "End": { "ID": "ProbeDisplay.Elements._Item2.InputPin", "Y": 1552, "X": 608 }, "Points": [ { "Y": 2064, "X": 992 }, { "Y": 2080, "X": 992 }, { "Y": 2080, "X": 1168 }, { "Y": 2112, "X": 1168 }, { "Y": 2112, "X": 1136 }, { "Y": 2192, "X": 1136 }, { "Y": 2192, "X": 1184 }, { "Y": 2240, "X": 1184 }, { "Y": 2240, "X": 1072 }, { "Y": 2880, "X": 1072 }, { "Y": 2880, "X": 448 }, { "Y": 1552, "X": 448 } ] }, { "Routed": true, "Begin": { "ID": "StatusDisplay.Outputs._Item3.OutputPin", "Y": 2096, "X": 976 }, "Name": "TOWELink175", "End": { "ID": "ProbeDisplay.Elements._Item3.InputPin", "Y": 1600, "X": 608 }, "Points": [ { "Y": 2096, "X": 992 }, { "Y": 2144, "X": 992 }, { "Y": 2144, "X": 1008 }, { "Y": 2240, "X": 1008 }, { "Y": 2240, "X": 1056 }, { "Y": 2736, "X": 1056 }, { "Y": 2736, "X": 480 }, { "Y": 1600, "X": 480 } ] }, { "Routed": true, "Begin": { "ID": "FanFinal.OutputPin", "Y": 1840, "X": 1120 }, "Name": "TOWELink176", "End": { "ID": "ClimateOutputGuard.Inputs._Item0.InputPin", "Y": 400, "X": 816 }, "Points": [ { "Y": 1840, "X": 1136 }, { "Y": 1856, "X": 1136 }, { "Y": 1856, "X": 1456 }, { "Y": 1408, "X": 1456 }, { "Y": 1408, "X": 2320 }, { "Y": 48, "X": 2320 }, { "Y": 48, "X": 800 }, { "Y": 400, "X": 800 } ] }, { "Routed": true, "Begin": { "ID": "HeaterFinal.OutputPin", "Y": 1952, "X": 1120 }, "Name": "TOWELink177", "End": { "ID": "ClimateOutputGuard.Inputs._Item1.InputPin", "Y": 432, "X": 816 }, "Points": [ { "Y": 1952, "X": 1136 }, { "Y": 1968, "X": 1136 }, { "Y": 1968, "X": 1168 }, { "Y": 2096, "X": 1168 }, { "Y": 2096, "X": 1136 }, { "Y": 2160, "X": 1136 }, { "Y": 2160, "X": 1184 }, { "Y": 2208, "X": 1184 }, { "Y": 2208, "X": 1120 }, { "Y": 2224, "X": 1120 }, { "Y": 2224, "X": 1136 }, { "Y": 2272, "X": 1136 }, { "Y": 2272, "X": 1088 }, { "Y": 3056, "X": 1088 }, { "Y": 3056, "X": 80 }, { "Y": 432, "X": 80 } ] }, { "Routed": true, "Begin": { "ID": "ClimateOutputGuard.Outputs._Item0.OutputPin", "Y": 400, "X": 992 }, "Name": "TOWELink178", "End": { "ID": "Arduino.Digital._Item10.DigitalInputPin", "Y": 1840, "X": 1200 }, "Points": [ { "Y": 400, "X": 1008 }, { "Y": 240, "X": 1008 }, { "Y": 240, "X": 208 }, { "Y": 1840, "X": 208 }, { "Y": 1840, "X": 800 }, { "Y": 1760, "X": 800 }, { "Y": 1760, "X": 848 }, { "Y": 1744, "X": 848 }, { "Y": 1744, "X": 976 }, { "Y": 1696, "X": 976 }, { "Y": 1696, "X": 1024 }, { "Y": 1792, "X": 1024 }, { "Y": 1792, "X": 1072 }, { "Y": 1808, "X": 1072 }, { "Y": 1808, "X": 1168 }, { "Y": 1824, "X": 1168 }, { "Y": 1824, "X": 1184 }, { "Y": 1840, "X": 1184 } ] }, { "Routed": true, "Begin": { "ID": "ClimateOutputGuard.Outputs._Item0.OutputPin", "Y": 400, "X": 992 }, "Name": "TOWELink179", "End": { "ID": "StatusDisplay.Inputs._Item16.InputPin", "Y": 2512, "X": 816 }, "Points": [ { "Y": 400, "X": 1008 }, { "Y": 240, "X": 1008 }, { "Y": 240, "X": 208 }, { "Y": 1840, "X": 208 }, { "Y": 1840, "X": 368 }, { "Y": 2512, "X": 368 } ] }, { "Routed": true, "Begin": { "ID": "ClimateOutputGuard.Outputs._Item1.OutputPin", "Y": 432, "X": 992 }, "Name": "TOWELink180", "End": { "ID": "Arduino.Digital._Item11.DigitalInputPin", "Y": 1888, "X": 1200 }, "Points": [ { "Y": 432, "X": 2688 }, { "Y": 2416, "X": 2688 }, { "Y": 2416, "X": 992 }, { "Y": 2064, "X": 992 }, { "Y": 2064, "X": 1152 }, { "Y": 1888, "X": 1152 } ] }, { "Routed": true, "Begin": { "ID": "ClimateOutputGuard.Outputs._Item1.OutputPin", "Y": 432, "X": 992 }, "Name": "TOWELink181", "End": { "ID": "StatusDisplay.Inputs._Item17.InputPin", "Y": 2544, "X": 816 }, "Points": [ { "Y": 432, "X": 2688 }, { "Y": 2416, "X": 2688 }, { "Y": 2416, "X": 2032 }, { "Y": 3072, "X": 2032 }, { "Y": 3072, "X": 736 }, { "Y": 2544, "X": 736 } ] }, { "Routed": true, "Begin": { "ID": "ProbeSample.OutputPin", "Y": 864, "X": 672 }, "Name": "TOWELink182", "End": { "ID": "QueuedDHT.ClockInputPin", "Y": 1040, "X": 672 }, "Points": [ { "Y": 864, "X": 688 }, { "Y": 896, "X": 688 }, { "Y": 896, "X": 656 }, { "Y": 1040, "X": 656 } ] } ], "*": [ { "Name": "Arduino", "Width": 208, "Instance": { "Digital": { "*": [ { "+": "TArduinoAdditionalDigitalSerial0Channel" }, { "+": "TArduinoAdditionalDigitalSerial0Channel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Pump.OutputPin" } }, "+": "TArduinoAdditionalDigitalInterruptChannel" }, { "IsPullUp": true, "AutoConfig": false, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ModeDebounce.InputPin" } ] }, "+": "TArduinoBasicDigitalPWMInterruptChannel" }, { "IsPullUp": true, "AutoConfig": false, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual1Debounce.InputPin" } ] }, "+": "TArduinoAdditionalDigitalChannel" }, { "IsPullUp": true, "AutoConfig": false, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual2Debounce.InputPin" } ] }, "+": "TArduinoBasicDigitalPWMChannel" }, { "IsPullUp": true, "AutoConfig": false, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.EmptyDebounce.InputPin" } ] }, "+": "TArduinoBasicDigitalPWMChannel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.SensorOutputPin" } }, "InitialValue": true, "+": "TArduinoAdditionalDigitalChannel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Valve1.OutputPin" } }, "+": "TArduinoAdditionalDigitalChannel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item2.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Valve2.OutputPin" } }, "+": "TArduinoBasicDigitalPWMChannel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs.Fan.OutputPin" } }, "+": "TArduinoBasicDigitalPWMChannel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs.Heater.OutputPin" } }, "+": "TArduinoBasicDigitalPWMSPI0Channel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.LightingController.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.LightingController.Outputs.Light.OutputPin" } }, "+": "TArduinoAdditionalDigitalSPI0Channel" }, { "DigitalInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FinalAlarm.OutputPin" } }, "+": "TArduinoAdditionalDigitalSPI0Channel" }, { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilSample1.InputPin" } ] }, "+": "TArduinoCombinedAnalogDigitalChannel" }, { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilSample2.InputPin" } ] }, "+": "TArduinoCombinedAnalogDigitalChannel" }, { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.OutsideLightSample.InputPin" } ] }, "+": "TArduinoCombinedAnalogDigitalChannel" }, { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.InsideLightSample.InputPin" } ] }, "+": "TArduinoCombinedAnalogDigitalChannel" }, { "+": "TArduinoCombinedAnalogDigitalI2C0Channel" }, { "+": "TArduinoCombinedAnalogDigitalI2C0Channel" } ] }, "Modules": { "*": [ { "+": "TArduinoEEPROMModule" }, { "+": "TArduinoWatchdogTimerModule" }, { "+": "TArduinoProcessor328Module" }, { "+": "TArduino_AVR328_AnalogInput_Config" } ] }, "Serial": { "*": [ { "Speed": 115200, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilADC1.OutputPin" }, { "ID": "__OpenWireRootUnit__.SoilADC2.OutputPin" }, { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } ] }, "+": "TArduinoBreakHardwareSerial0" } ] }, "I2CChannels": { "*": [ { "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ProbeClock.ControlOutputPin" }, { "ID": "__OpenWireRootUnit__.ProbeDisplay.OutputPin" } ] }, "+": "TArduinoI2C" } ] }, "SPIChannels": { "*": [ { "+": "TArduinoSPI" } ] }, "BoardType": "Arduino UNO R3", "+": "TArduinoBoard" }, "X": 1200, "Height": 1088, "Y": 1232, "Type": "Component" }, { "Name": "ProbeSample", "Width": 112, "Instance": { "Frequency": 0.5, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.QueuedDHT.ClockInputPin" } ] }, "+": "TArduinoClockGenerator" }, "X": 560, "Height": 48, "Y": 832, "Type": "Component" }, { "Name": "TempRange", "Width": 96, "Instance": { "IncludeLimits": true, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.TempGate.EnableInputPin" }, { "ID": "__OpenWireRootUnit__.TempInvalid.InputPin" } ] }, "Range": { "Min": -40, "Max": 80 }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoAnalogCompareRange" }, "X": 1008, "Height": 48, "Y": 800, "Type": "Component" }, { "Name": "HumRange", "Width": 96, "Instance": { "IncludeLimits": true, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HumGate.EnableInputPin" }, { "ID": "__OpenWireRootUnit__.HumInvalid.InputPin" } ] }, "Range": { "Max": 100 }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.HumidityOutputPin" } }, "+": "TArduinoAnalogCompareRange" }, "X": 1008, "Height": 48, "Y": 912, "Type": "Component" }, { "Name": "TempGate", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HumGate.InputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.QueuedDHT.HumidityOutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.TempRange.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1200, "Height": 64, "Y": 800, "Type": "Component" }, { "Name": "HumGate", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeFresh.StartInputPin" }, { "ID": "__OpenWireRootUnit__.GoodPairs.InputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.TempGate.OutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HumRange.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1408, "Height": 64, "Y": 832, "Type": "Component" }, { "Name": "ProbeFresh", "Width": 112, "Instance": { "Interval": 6000000, "StartInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HumGate.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FreshInvalid.InputPin" } ] }, "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.TempInvalid.OutputPin" }, { "ID": "__OpenWireRootUnit__.HumInvalid.OutputPin" } ] }, "+": "TArduinoTimer" }, "X": 1600, "Height": 64, "Y": 800, "Type": "Component" }, { "Name": "GoodPairs", "Width": 128, "Instance": { "Min": { "RollOver": false, "Value": 0 }, "Max": { "RollOver": false, "ReachedOutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.InvalidClimate.InputPin" }, { "ID": "__OpenWireRootUnit__.HeaterFinal.InputPins._Pin0", "Name": "__OpenWireRootUnit__.HeaterFinal.InputPins.Pin [0]" } ] }, "Value": 2 }, "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.TempInvalid.OutputPin" }, { "ID": "__OpenWireRootUnit__.HumInvalid.OutputPin" }, { "ID": "__OpenWireRootUnit__.FreshInvalid.OutputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HumGate.OutputPin" } ] }, "+": "TArduinoCounter" }, "X": 1808, "Height": 112, "Y": 912, "Type": "Component" }, { "Name": "TempInvalid", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeFresh.ResetInputPin" }, { "ID": "__OpenWireRootUnit__.GoodPairs.ResetInputPin" } ] }, "OnEachSample": true, "Rising": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.TempRange.OutputPin" } }, "+": "TArduinoDetectEdge" }, "X": 1008, "Height": 48, "Y": 1072, "Type": "Component" }, { "Name": "HumInvalid", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeFresh.ResetInputPin" }, { "ID": "__OpenWireRootUnit__.GoodPairs.ResetInputPin" } ] }, "OnEachSample": true, "Rising": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HumRange.OutputPin" } }, "+": "TArduinoDetectEdge" }, "X": 1408, "Height": 48, "Y": 1072, "Type": "Component" }, { "Name": "FreshInvalid", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.GoodPairs.ResetInputPin" } ] }, "OnEachSample": true, "Rising": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ProbeFresh.OutputPin" } }, "+": "TArduinoDetectEdge" }, "X": 1808, "Height": 48, "Y": 1072, "Type": "Component" }, { "Name": "HeatSet", "Width": 80, "Instance": { "Value": 18, "CompareType": "ctSmallerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeatSetEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 992, "Height": 48, "Y": 720, "Type": "Component" }, { "Name": "HeatClear", "Width": 80, "Instance": { "Value": 20, "CompareType": "ctBiggerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeatClearEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 992, "Height": 48, "Y": 976, "Type": "Component" }, { "Name": "HeatMemory", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HeatClearEvent.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeaterFinal.InputPins._Pin1", "Name": "__OpenWireRootUnit__.HeaterFinal.InputPins.Pin [1]" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HeatSetEvent.OutputPin" } ] } }, "X": 896, "Height": 64, "Y": 1232, "Type": "Component" }, { "Name": "HeatSetEvent", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeatMemory.SetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HeatSet.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1152, "Height": 48, "Y": 720, "Type": "Component" }, { "Name": "HeatClearEvent", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeatMemory.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HeatClear.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1152, "Height": 48, "Y": 976, "Type": "Component" }, { "Name": "FanSet", "Width": 80, "Instance": { "Value": 28, "CompareType": "ctBiggerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FanSetEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 992, "Height": 48, "Y": 656, "Type": "Component" }, { "Name": "FanClear", "Width": 80, "Instance": { "Value": 26, "CompareType": "ctSmallerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FanClearEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 992, "Height": 48, "Y": 576, "Type": "Component" }, { "Name": "FanMemory", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.FanClearEvent.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.NotFanRequest.InputPin" }, { "ID": "__OpenWireRootUnit__.FanFinal.InputPins._Pin1", "Name": "__OpenWireRootUnit__.FanFinal.InputPins.Pin [1]" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.FanSetEvent.OutputPin" } ] } }, "X": 912, "Height": 64, "Y": 1328, "Type": "Component" }, { "Name": "FanSetEvent", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FanMemory.SetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FanSet.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1152, "Height": 48, "Y": 640, "Type": "Component" }, { "Name": "FanClearEvent", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FanMemory.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FanClear.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1152, "Height": 48, "Y": 560, "Type": "Component" }, { "Name": "HotSet", "Width": 80, "Instance": { "Value": 35, "CompareType": "ctBiggerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HotSetEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 896, "Height": 48, "Y": 768, "Type": "Component" }, { "Name": "HotClear", "Width": 80, "Instance": { "Value": 33, "CompareType": "ctSmallerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HotClearEvent.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "+": "TArduinoCompareValue" }, "X": 896, "Height": 48, "Y": 928, "Type": "Component" }, { "Name": "HotMemory", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HotClearEvent.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.NotHot.InputPin" }, { "ID": "__OpenWireRootUnit__.FanFinal.InputPins._Pin2", "Name": "__OpenWireRootUnit__.FanFinal.InputPins.Pin [2]" }, { "ID": "__OpenWireRootUnit__.AlarmClimate.InputPins._Pin1", "Name": "__OpenWireRootUnit__.AlarmClimate.InputPins.Pin [1]" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item10.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.hot.InputPin" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.HotSetEvent.OutputPin" } ] } }, "X": 912, "Height": 64, "Y": 1152, "Type": "Component" }, { "Name": "HotSetEvent", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HotMemory.SetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HotSet.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1120, "Height": 48, "Y": 896, "Type": "Component" }, { "Name": "HotClearEvent", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HotMemory.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HotClear.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1072, "Height": 48, "Y": 1152, "Type": "Component" }, { "Name": "InvalidClimate", "Width": 112, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.GoodPairs.Max.ReachedOutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FanFinal.InputPins._Pin0", "Name": "__OpenWireRootUnit__.FanFinal.InputPins.Pin [0]" }, { "ID": "__OpenWireRootUnit__.AlarmClimate.InputPins._Pin0", "Name": "__OpenWireRootUnit__.AlarmClimate.InputPins.Pin [0]" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item9.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.invalidClimate.InputPin" } ] }, "+": "TArduinoBooleanInverter" }, "X": 2016, "Height": 48, "Y": 928, "Type": "Component" }, { "Name": "NotFanRequest", "Width": 112, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FanMemory.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeaterFinal.InputPins._Pin2", "Name": "__OpenWireRootUnit__.HeaterFinal.InputPins.Pin [2]" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1056, "Height": 48, "Y": 1328, "Type": "Component" }, { "Name": "NotHot", "Width": 80, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HotMemory.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeaterFinal.InputPins._Pin3", "Name": "__OpenWireRootUnit__.HeaterFinal.InputPins.Pin [3]" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1136, "Height": 48, "Y": 1088, "Type": "Component" }, { "Name": "FanFinal", "Width": 112, "Instance": { "InputPins": { "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.InvalidClimate.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.FanMemory.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.HotMemory.OutputPin" }, "Type": "ptSink" } ], "Form": "__OpenWireRootUnit__", "Count": 3 }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.NotFinalFan.InputPin" }, { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Inputs._Item0.InputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Inputs.FanRequest.InputPin" } ] }, "+": "TArduinoBooleanOr" }, "X": 1008, "Height": 96, "Y": 1808, "Type": "Component" }, { "Name": "NotFinalFan", "Width": 96, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FanFinal.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HeaterFinal.InputPins._Pin4", "Name": "__OpenWireRootUnit__.HeaterFinal.InputPins.Pin [4]" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1088, "Height": 48, "Y": 1744, "Type": "Component" }, { "Name": "HeaterFinal", "Width": 112, "Instance": { "InputPins": { "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.GoodPairs.Max.ReachedOutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.HeatMemory.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.NotFanRequest.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.NotHot.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.NotFinalFan.OutputPin" }, "Type": "ptSink" } ], "Form": "__OpenWireRootUnit__", "Count": 5 }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Inputs._Item1.InputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Inputs.HeatRequest.InputPin" } ] }, "+": "TArduinoBooleanAnd" }, "X": 1008, "Height": 128, "Y": 1920, "Type": "Component" }, { "Name": "AlarmClimate", "Width": 112, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.InvalidClimate.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.HotMemory.OutputPin" }, "Type": "ptSink" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FinalAlarm.InputPins._Pin0", "Name": "__OpenWireRootUnit__.FinalAlarm.InputPins.Pin [0]" } ] }, "+": "TArduinoBooleanOr" }, "X": 928, "Height": 80, "Y": 1424, "Type": "Component" }, { "Name": "SoilClock", "Width": 80, "Instance": { "Frequency": 20, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilSample1.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.SoilSample2.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.ModeSample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.Manual1Sample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.Manual2Sample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.EmptySample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.ScanReadyGate.InputPin" }, { "ID": "__OpenWireRootUnit__.OutsideLightSample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.InsideLightSample.SnapshotInputPin" }, { "ID": "__OpenWireRootUnit__.LightingController.ClockInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.ClockInputPin" } ] }, "+": "TArduinoClockGenerator" }, "X": 1056, "Height": 48, "Y": 1248, "Type": "Component" }, { "Name": "SoilSample1", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item14.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 14 ]\/AnalogIn[ 0 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilADC1.InputPin" } ] }, "+": "TArduinoAnalogSnapshot" }, "X": 848, "Height": 64, "Y": 1056, "Type": "Component" }, { "Name": "SoilSample2", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item15.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 15 ]\/AnalogIn[ 1 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilADC2.InputPin" } ] }, "+": "TArduinoAnalogSnapshot" }, "X": 1488, "Height": 64, "Y": 2000, "Type": "Component" }, { "Name": "SoilADC1", "Width": 80, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Serial._Item0.InputPin", "Name": "__OpenWireRootUnit__.Arduino.Serial.Item[ 0 ] (115200).InputPin" }, { "ID": "__OpenWireRootUnit__.SoilProduct1.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item2.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.soil1.InputPin" } ] }, "Round": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilSample1.OutputPin" } }, "Scale": 1023, "+": "TArduinoFloatToUnsigned" }, "X": 1072, "Height": 48, "Y": 1392, "Type": "Component" }, { "Name": "SoilADC2", "Width": 80, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Serial._Item0.InputPin", "Name": "__OpenWireRootUnit__.Arduino.Serial.Item[ 0 ] (115200).InputPin" }, { "ID": "__OpenWireRootUnit__.SoilProduct2.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item3.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.soil2.InputPin" } ] }, "Round": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilSample2.OutputPin" } }, "Scale": 1023, "+": "TArduinoFloatToUnsigned" }, "X": 1696, "Height": 48, "Y": 2000, "Type": "Component" }, { "Name": "SoilProduct1", "Width": 96, "Instance": { "+": "TArduinoUnsignedMultiplyByValue", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilADC1.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilDry1.InputPin" }, { "ID": "__OpenWireRootUnit__.SoilWet1.InputPin" } ] }, "Value": 100 }, "X": 1232, "Height": 48, "Y": 1168, "Type": "Component" }, { "Name": "SoilDry1", "Width": 80, "Instance": { "Value": 30690, "CompareType": "ctSmallerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.DryEvent1.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilProduct1.OutputPin" } }, "+": "TArduinoUnsignedCompareValue" }, "X": 1408, "Height": 48, "Y": 1152, "Type": "Component" }, { "Name": "SoilWet1", "Width": 80, "Instance": { "Value": 56265, "CompareType": "ctBiggerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.WetEvent1.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilProduct1.OutputPin" } }, "+": "TArduinoUnsignedCompareValue" }, "X": 1424, "Height": 48, "Y": 1232, "Type": "Component" }, { "Name": "SoilRequest1", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.WetEvent1.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Demand1.TrueInputPin" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item5.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.Dry1.InputPin" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.DryEvent1.OutputPin" } ] } }, "X": 912, "Height": 64, "Y": 1536, "Type": "Component" }, { "Name": "DryEvent1", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilRequest1.SetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilDry1.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1568, "Height": 48, "Y": 1152, "Type": "Component" }, { "Name": "WetEvent1", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilRequest1.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilWet1.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 1584, "Height": 48, "Y": 1232, "Type": "Component" }, { "Name": "SoilProduct2", "Width": 96, "Instance": { "+": "TArduinoUnsignedMultiplyByValue", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilADC2.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilDry2.InputPin" }, { "ID": "__OpenWireRootUnit__.SoilWet2.InputPin" } ] }, "Value": 100 }, "X": 1856, "Height": 48, "Y": 2000, "Type": "Component" }, { "Name": "SoilDry2", "Width": 80, "Instance": { "Value": 30690, "CompareType": "ctSmallerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.DryEvent2.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilProduct2.OutputPin" } }, "+": "TArduinoUnsignedCompareValue" }, "X": 2032, "Height": 48, "Y": 2000, "Type": "Component" }, { "Name": "SoilWet2", "Width": 80, "Instance": { "Value": 56265, "CompareType": "ctBiggerOrEqual", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.WetEvent2.InputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilProduct2.OutputPin" } }, "+": "TArduinoUnsignedCompareValue" }, "X": 2032, "Height": 48, "Y": 2064, "Type": "Component" }, { "Name": "SoilRequest2", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.WetEvent2.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Demand2.TrueInputPin" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item6.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.Dry2.InputPin" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.DryEvent2.OutputPin" } ] } }, "X": 736, "Height": 64, "Y": 1232, "Type": "Component" }, { "Name": "DryEvent2", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilRequest2.SetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilDry2.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 2192, "Height": 48, "Y": 2000, "Type": "Component" }, { "Name": "WetEvent2", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SoilRequest2.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilWet2.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 2192, "Height": 48, "Y": 2080, "Type": "Component" }, { "Name": "ModeDebounce", "Width": 112, "Instance": { "DebounceInterval": 40, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item3.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 3 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ModeSample.InputPin" } ] }, "+": "TArduinoButton" }, "X": 1488, "Height": 48, "Y": 1520, "Type": "Component" }, { "Name": "Manual1Debounce", "Width": 128, "Instance": { "DebounceInterval": 40, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item4.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 4 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual1Sample.InputPin" } ] }, "+": "TArduinoButton" }, "X": 1488, "Height": 48, "Y": 1584, "Type": "Component" }, { "Name": "Manual2Debounce", "Width": 128, "Instance": { "DebounceInterval": 40, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item5.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 5 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual2Sample.InputPin" } ] }, "+": "TArduinoButton" }, "X": 1488, "Height": 48, "Y": 1664, "Type": "Component" }, { "Name": "EmptyDebounce", "Width": 112, "Instance": { "DebounceInterval": 40, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item6.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 6 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.EmptySample.InputPin" } ] }, "+": "TArduinoButton" }, "X": 1488, "Height": 48, "Y": 1744, "Type": "Component" }, { "Name": "ModeSample", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeDebounce.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualMode.InputPin" }, { "ID": "__OpenWireRootUnit__.ModeChanged.InputPin" }, { "ID": "__OpenWireRootUnit__.Demand1.SelectInputPin" }, { "ID": "__OpenWireRootUnit__.Demand2.SelectInputPin" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item1.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.AutoMode.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item12.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.automatic.InputPin" } ] }, "+": "TArduinoDigitalSnapshot" }, "X": 1680, "Height": 64, "Y": 1520, "Type": "Component" }, { "Name": "Manual1Sample", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual1Debounce.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual1Held.InputPin" }, { "ID": "__OpenWireRootUnit__.Release1Gate.EnableInputPin" } ] }, "+": "TArduinoDigitalSnapshot" }, "X": 1696, "Height": 64, "Y": 1600, "Type": "Component" }, { "Name": "Manual2Sample", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual2Debounce.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Manual2Held.InputPin" }, { "ID": "__OpenWireRootUnit__.Release2Gate.EnableInputPin" } ] }, "+": "TArduinoDigitalSnapshot" }, "X": 1696, "Height": 64, "Y": 1680, "Type": "Component" }, { "Name": "EmptySample", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.EmptyDebounce.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.SourceEmpty.InputPin" }, { "ID": "__OpenWireRootUnit__.ReleaseSourceGate.EnableInputPin" }, { "ID": "__OpenWireRootUnit__.WaterInputsOK.InputPins._Pin1", "Name": "__OpenWireRootUnit__.WaterInputsOK.InputPins.Pin [1]" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item2.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.SourceOK.InputPin" } ] }, "+": "TArduinoDigitalSnapshot" }, "X": 1680, "Height": 64, "Y": 1760, "Type": "Component" }, { "Name": "BootStart", "Width": 80, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.BootDelay.StartInputPin" } ] }, "+": "TArduinoStart" }, "X": 752, "Height": 48, "Y": 1328, "Type": "Component" }, { "Name": "BootDelay", "Width": 112, "Instance": { "Interval": 100, "StartInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.BootStart.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.BootElapsed.SetInputPin" } ] }, "CanRestart": false, "InMicroSeconds": false, "+": "TArduinoDelay" }, "X": 912, "Height": 64, "Y": 1616, "Type": "Component" }, { "Name": "ManualMode", "Width": 96, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "+": "TArduinoBooleanInverter" }, "X": 1888, "Height": 48, "Y": 1520, "Type": "Component" }, { "Name": "Manual1Held", "Width": 96, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual1Sample.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualDemand1.InputPins._Pin0", "Name": "__OpenWireRootUnit__.ManualDemand1.InputPins.Pin [0]" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item3.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.Button1.InputPin" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1904, "Height": 48, "Y": 1600, "Type": "Component" }, { "Name": "Manual2Held", "Width": 96, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual2Sample.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualDemand2.InputPins._Pin0", "Name": "__OpenWireRootUnit__.ManualDemand2.InputPins.Pin [0]" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item4.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.Button2.InputPin" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1904, "Height": 48, "Y": 1680, "Type": "Component" }, { "Name": "SourceEmpty", "Width": 96, "Instance": { "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.EmptySample.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.EmptyEvent.InputPin" }, { "ID": "__OpenWireRootUnit__.FinalAlarm.InputPins._Pin1", "Name": "__OpenWireRootUnit__.FinalAlarm.InputPins.Pin [1]" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item8.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.empty.InputPin" } ] }, "+": "TArduinoBooleanInverter" }, "X": 1888, "Height": 48, "Y": 1760, "Type": "Component" }, { "Name": "BootElapsed", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ScanReadyGate.EnableInputPin" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.BootDelay.OutputPin" } ] } }, "X": 1040, "Height": 64, "Y": 1632, "Type": "Component" }, { "Name": "ScanReadyGate", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.InputsReady.SetInputPin" }, { "ID": "__OpenWireRootUnit__.Release1Gate.InputPin" }, { "ID": "__OpenWireRootUnit__.IrrigationController.ClockInputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.BootElapsed.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1232, "Height": 64, "Y": 1072, "Type": "Component" }, { "Name": "InputsReady", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.WaterInputsOK.InputPins._Pin0", "Name": "__OpenWireRootUnit__.WaterInputsOK.InputPins.Pin [0]" }, { "ID": "__OpenWireRootUnit__.IrrigationController.Inputs._Item0.InputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Inputs.Ready.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item21.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.ready.InputPin" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ScanReadyGate.OutputPin" } ] } }, "X": 1424, "Height": 64, "Y": 976, "Type": "Component" }, { "Name": "ManualArmed", "Width": 128, "Instance": { "+": "TArduinoSRFlipFlop", "ResetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ModeChanged.OutputPin" }, { "ID": "__OpenWireRootUnit__.EmptyEvent.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualDemand1.InputPins._Pin1", "Name": "__OpenWireRootUnit__.ManualDemand1.InputPins.Pin [1]" }, { "ID": "__OpenWireRootUnit__.ManualDemand2.InputPins._Pin1", "Name": "__OpenWireRootUnit__.ManualDemand2.InputPins.Pin [1]" } ] }, "SetInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ReleaseSourceGate.OutputPin" } ] } }, "X": 752, "Height": 64, "Y": 1152, "Type": "Component" }, { "Name": "Release1Gate", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Release2Gate.InputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ScanReadyGate.OutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual1Sample.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1520, "Height": 64, "Y": 1056, "Type": "Component" }, { "Name": "Release2Gate", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ReleaseSourceGate.InputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.Release1Gate.OutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual2Sample.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1680, "Height": 64, "Y": 1056, "Type": "Component" }, { "Name": "ReleaseSourceGate", "Width": 144, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualArmed.SetInputPin" } ] }, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.Release2Gate.OutputPin" } ] }, "EnableInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.EmptySample.OutputPin" } }, "+": "TArduinoClockSwitch" }, "X": 1872, "Height": 64, "Y": 1152, "Type": "Component" }, { "Name": "ModeChanged", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualArmed.ResetInputPin" } ] }, "OnAnyChange": true, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "+": "TArduinoDetectEdge" }, "X": 1888, "Height": 48, "Y": 1456, "Type": "Component" }, { "Name": "EmptyEvent", "Width": 96, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ManualArmed.ResetInputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SourceEmpty.OutputPin" } }, "OnEachSample": true, "+": "TArduinoDetectEdge" }, "X": 2064, "Height": 48, "Y": 1760, "Type": "Component" }, { "Name": "ManualDemand1", "Width": 128, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual1Held.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.ManualArmed.OutputPin" }, "Type": "ptSink" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Demand1.FalseInputPin" } ] }, "+": "TArduinoBooleanAnd" }, "X": 2080, "Height": 80, "Y": 1584, "Type": "Component" }, { "Name": "ManualDemand2", "Width": 128, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual2Held.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.ManualArmed.OutputPin" }, "Type": "ptSink" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Demand2.FalseInputPin" } ] }, "+": "TArduinoBooleanAnd" }, "X": 2080, "Height": 80, "Y": 1840, "Type": "Component" }, { "Name": "Demand1", "Width": 112, "Instance": { "FalseInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ManualDemand1.OutputPin" } }, "TrueInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilRequest1.OutputPin" } }, "SelectInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Eligible1.InputPins._Pin0", "Name": "__OpenWireRootUnit__.Eligible1.InputPins.Pin [0]" } ] }, "InitialSelectValue": true, "+": "TArduinoDigitalToggleSwitch" }, "X": 2288, "Height": 80, "Y": 1568, "Type": "Component" }, { "Name": "Demand2", "Width": 112, "Instance": { "FalseInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ManualDemand2.OutputPin" } }, "TrueInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilRequest2.OutputPin" } }, "SelectInputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Eligible2.InputPins._Pin0", "Name": "__OpenWireRootUnit__.Eligible2.InputPins.Pin [0]" } ] }, "InitialSelectValue": true, "+": "TArduinoDigitalToggleSwitch" }, "X": 2288, "Height": 80, "Y": 1824, "Type": "Component" }, { "Name": "WaterInputsOK", "Width": 112, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.InputsReady.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.EmptySample.OutputPin" }, "Type": "ptSink" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Eligible1.InputPins._Pin1", "Name": "__OpenWireRootUnit__.Eligible1.InputPins.Pin [1]" }, { "ID": "__OpenWireRootUnit__.Eligible2.InputPins._Pin1", "Name": "__OpenWireRootUnit__.Eligible2.InputPins.Pin [1]" } ] }, "+": "TArduinoBooleanAnd" }, "X": 1632, "Height": 80, "Y": 944, "Type": "Component" }, { "Name": "Eligible1", "Width": 112, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.Demand1.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.WaterInputsOK.OutputPin" }, "Type": "ptSink" } ] }, "+": "TArduinoBooleanAnd" }, "X": 2480, "Height": 80, "Y": 1520, "Type": "Component" }, { "Name": "Eligible2", "Width": 112, "Instance": { "InputPins": { "Form": "__OpenWireRootUnit__", "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.Demand2.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.WaterInputsOK.OutputPin" }, "Type": "ptSink" } ] }, "+": "TArduinoBooleanAnd" }, "X": 2480, "Height": 80, "Y": 1808, "Type": "Component" }, { "Name": "IrrigationController", "Width": 160, "Instance": { "Members": "bool ghReady = false, ghAuto = true, ghSourceOK = false;\r\n bool ghButton1 = false, ghButton2 = false, ghDry1 = false, ghDry2 = false;\r\n bool ghValve1 = false, ghValve2 = false, ghPump = false;\r\n bool ghTimeout = false, ghRest = false, ghManualInhibit = true;\r\n bool ghInitialized = false, ghPreviousAuto = true, ghPreviousSource = false;\r\n bool ghResetHolding = false;\r\n uint8_t ghZone = 0, ghNextZone = 1;\r\n uint32_t ghRunAt = 0, ghRestAt = 0, ghResetAt = 0;\r\n void ghBeginRest(uint32_t now) {\r\n ghRest = true;\r\n ghRestAt = now;\r\n}\r\n void ghStep(uint32_t now) {\r\n ghValve1 = ghValve2 = ghPump = false;\r\n if (!ghReady) {\r\n ghZone = 0;\r\n ghManualInhibit = true;\r\n ghResetHolding = false;\r\n ghInitialized = false;\r\n ghRest = false;\r\n return;\r\n }\r\n if (!ghInitialized) {\r\n ghPreviousAuto = ghAuto;\r\n ghPreviousSource = ghSourceOK;\r\n ghInitialized = true;\r\n if (!ghSourceOK) ghBeginRest(now);\r\n }\r\n const bool modeChanged = ghAuto != ghPreviousAuto;\r\n const bool sourceLost = ghPreviousSource && !ghSourceOK;\r\n ghPreviousAuto = ghAuto;\r\n ghPreviousSource = ghSourceOK;\r\n const bool expired = ghZone != 0 && uint32_t(now - ghRunAt) >= 10000UL;\r\n if (expired) ghTimeout = true;\r\n const bool demand = ghZone == 1 ? (ghAuto ? ghDry1 : (!ghManualInhibit && ghButton1)) : (ghAuto ?\r\n ghDry2 : (!ghManualInhibit && ghButton2));\r\n if (ghZone && (ghTimeout || !ghSourceOK || modeChanged || !demand)) {\r\n ghZone = 0;\r\n ghBeginRest(now);\r\n }\r\n if (modeChanged || sourceLost) {\r\n ghManualInhibit = true;\r\n ghBeginRest(now);\r\n }\r\n if (ghRest && uint32_t(now - ghRestAt) >= 15000UL) ghRest = false;\r\n const bool resetAllowed = ghTimeout && !ghAuto && ghSourceOK && ghButton1 && ghButton2 && ghZone\r\n == 0;\r\n if (resetAllowed) {\r\n if (!ghResetHolding) {\r\n ghResetHolding = true;\r\n ghResetAt = now;\r\n }\r\n if (uint32_t(now - ghResetAt) >= 2000UL) {\r\n ghTimeout = false;\r\n ghResetHolding = false;\r\n ghManualInhibit = true;\r\n ghBeginRest(now);\r\n }\r\n }\r\n else ghResetHolding = false;\r\n if (ghSourceOK && !ghButton1 && !ghButton2) ghManualInhibit = false;\r\n const bool eligible1 = ghAuto ? ghDry1 : (!ghManualInhibit && ghButton1);\r\n const bool eligible2 = ghAuto ? ghDry2 : (!ghManualInhibit && ghButton2);\r\n if (!ghZone && !ghTimeout && !ghRest && ghSourceOK) {\r\n if (eligible1 || eligible2) {\r\n ghZone = (ghNextZone == 1) ? (eligible1 ? 1 : 2) : (eligible2 ? 2 : 1);\r\n ghNextZone = ghZone == 1 ? 2 : 1;\r\n ghRunAt = now;\r\n }\r\n }\r\n ghValve1 = ghZone == 1 && ghSourceOK && !ghTimeout;\r\n ghValve2 = ghZone == 2 && ghSourceOK && !ghTimeout;\r\n ghPump = ghValve1 || ghValve2;\r\n}\r\n bool ghSentPump = false, ghSentValve1 = false, ghSentValve2 = false;\r\n", "Inputs": { "*": [ { "Name": "Ready", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InputsReady.OutputPin" } }, "OnData": "ghReady = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "AutoMode", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "OnData": "ghAuto = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "SourceOK", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.EmptySample.OutputPin" } }, "OnData": "ghSourceOK = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "Button1", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual1Held.OutputPin" } }, "OnData": "ghButton1 = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "Button2", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Manual2Held.OutputPin" } }, "OnData": "ghButton2 = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "Dry1", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilRequest1.OutputPin" } }, "OnData": "ghDry1 = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "Dry2", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilRequest2.OutputPin" } }, "OnData": "ghDry2 = AValue;", "+": "TArduinoCustomCodeInputDigitalElement" } ] }, "ClockInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ScanReadyGate.OutputPin" } ] }, "OnStart": "Pump.Send(false);\r\n Valve1.Send(false);\r\n Valve2.Send(false);\r\n Timeout.Send(false);\r\n Rest.Send(false);\r\n Inhibit.Send(true);\r\n ghSentPump = ghSentValve1 = ghSentValve2 = false;\r\n", "Outputs": { "*": [ { "Name": "Pump", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item2.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 2 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item15.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.pump.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Valve1", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item8.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 8 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item13.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.valve1.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Valve2", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item9.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 9 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item14.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.valve2.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Timeout", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FinalAlarm.InputPins._Pin2", "Name": "__OpenWireRootUnit__.FinalAlarm.InputPins.Pin [2]" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item7.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.timeout.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Rest", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item19.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.rest.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Inhibit", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item20.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.inhibit.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" } ] }, "OnExecute": "const uint32_t now = (uint32_t)millis();\r\n ghStep(now);\r\n if (ghSentPump && (!ghPump || ghSentValve1 != ghValve1 || ghSentValve2 != ghValve2)) {\r\n Pump.Send(false);\r\n ghSentPump = false;\r\n}\r\n Valve1.Send(ghValve1);\r\n Valve2.Send(ghValve2);\r\n Pump.Send(ghPump);\r\n ghSentValve1 = ghValve1;\r\n ghSentValve2 = ghValve2;\r\n ghSentPump = ghPump;\r\n Timeout.Send(ghTimeout);\r\n Rest.Send(ghRest);\r\n Inhibit.Send(ghManualInhibit);\r\n Serial.print(F(\"GH|\"));\r\n Serial.print(now);\r\n Serial.print('|');\r\n Serial.print(ghAuto);\r\n Serial.print('|');\r\n Serial.print(ghSourceOK);\r\n Serial.print('|');\r\n Serial.print(ghButton1);\r\n Serial.print('|');\r\n Serial.print(ghButton2);\r\n Serial.print('|');\r\n Serial.print(ghDry1);\r\n Serial.print('|');\r\n Serial.print(ghDry2);\r\n Serial.print('|');\r\n Serial.print(ghZone);\r\n Serial.print('|');\r\n Serial.print(ghNextZone);\r\n Serial.print('|');\r\n Serial.print(ghValve1);\r\n Serial.print('|');\r\n Serial.print(ghValve2);\r\n Serial.print('|');\r\n Serial.print(ghPump);\r\n Serial.print('|');\r\n Serial.print(ghTimeout);\r\n Serial.print('|');\r\n Serial.print(ghRest);\r\n Serial.print('|');\r\n Serial.println(ghManualInhibit);\r\n", "+": "TArduinoCustomCode" }, "X": 752, "Height": 304, "Y": 1424, "Type": "Component" }, { "Name": "OutsideLightSample", "Width": 144, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item16.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 16 ]\/AnalogIn[ 2 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.OutsideLightADC.InputPin" } ] }, "+": "TArduinoAnalogSnapshot" }, "X": 1472, "Height": 64, "Y": 2080, "Type": "Component" }, { "Name": "InsideLightSample", "Width": 128, "Instance": { "SnapshotInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item17.OutputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 17 ]\/AnalogIn[ 3 ].OutputPin" } }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.InsideLightADC.InputPin" } ] }, "+": "TArduinoAnalogSnapshot" }, "X": 1488, "Height": 64, "Y": 2176, "Type": "Component" }, { "Name": "OutsideLightADC", "Width": 128, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.LightingController.Inputs._Item1.InputPin", "Name": "__OpenWireRootUnit__.LightingController.Inputs.OutsideADC.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item4.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.outside.InputPin" } ] }, "Round": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.OutsideLightSample.OutputPin" } }, "Scale": 1023, "+": "TArduinoFloatToUnsigned" }, "X": 1696, "Height": 48, "Y": 2128, "Type": "Component" }, { "Name": "InsideLightADC", "Width": 112, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.LightingController.Inputs._Item2.InputPin", "Name": "__OpenWireRootUnit__.LightingController.Inputs.InsideADC.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item5.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.inside.InputPin" } ] }, "Round": false, "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InsideLightSample.OutputPin" } }, "Scale": 1023, "+": "TArduinoFloatToUnsigned" }, "X": 1696, "Height": 48, "Y": 2192, "Type": "Component" }, { "Name": "ProbeClock", "Width": 144, "Instance": { "ControlOutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.I2CChannels._Item0.InputPin", "Name": "__OpenWireRootUnit__.Arduino.I2CChannels.I2C.InputPin" } ] }, "ClockInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ProbeTick.OutputPin" } ] }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.LightingController.Inputs._Item0.InputPin", "Name": "__OpenWireRootUnit__.LightingController.Inputs.ClockSample.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item6.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.CivilClock.InputPin" } ] }, "+": "TArduinoRTCDS3231" }, "X": 848, "Height": 144, "Y": 1760, "Type": "Component" }, { "Name": "ProbeTick", "Width": 80, "Instance": { "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeClock.ClockInputPin" } ] }, "+": "TArduinoClockGenerator" }, "X": 688, "Height": 48, "Y": 1776, "Type": "Component" }, { "Name": "LightingController", "Width": 176, "Instance": { "Members": " struct GreenhouseClockGuard {\r\n bool acquired = false;\r\n bool haveBaseline = false;\r\n uint8_t advancing = 0;\r\n uint32_t lastCivil = 0;\r\n uint32_t advancedAt = 0;\r\n uint32_t secondOfDay = 0;\r\n void invalidate() {\r\n acquired = haveBaseline = false;\r\n advancing = 0;\r\n }\r\n void tick(uint32_t now) {\r\n if (haveBaseline && uint32_t(now - advancedAt) >= 3500UL) invalidate();\r\n }\r\n static bool civil(uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t minute,\r\n uint8_t second, uint32_t &stamp) {\r\n if (year < 2000 || year > 2099 || month < 1 || month > 12 || hour > 23 || minute > 59 || second\r\n > 59) return false;\r\n static const uint8_t lengths[] = {\r\n 31,28,31,30,31,30,31,31,30,31,30,31\r\n }\r\n ;\r\n const bool leap = year % 4 == 0;\r\n const uint8_t maximum = lengths[month - 1] + (month == 2 && leap ? 1 : 0);\r\n if (day < 1 || day > maximum) return false;\r\n uint32_t days = 0;\r\n for (uint16_t y = 2000;\r\n y < year;\r\n ++y) days += y % 4 == 0 ? 366 : 365;\r\n for (uint8_t m = 1;\r\n m < month;\r\n ++m) days += lengths[m - 1] + (m == 2 && leap ? 1 : 0);\r\n days += day - 1;\r\n stamp = ((days * 24UL + hour) * 60UL + minute) * 60UL + second;\r\n return true;\r\n }\r\n bool sample(uint32_t now, uint16_t year, uint8_t month, uint8_t day, uint8_t hour, uint8_t\r\n minute, uint8_t second) {\r\n tick(now);\r\n uint32_t stamp = 0;\r\n if (!civil(year, month, day, hour, minute, second, stamp)) {\r\n invalidate();\r\n return false;\r\n }\r\n secondOfDay = uint32_t(hour) * 3600UL + uint32_t(minute) * 60UL + second;\r\n if (!haveBaseline) {\r\n haveBaseline = true;\r\n lastCivil = stamp;\r\n advancedAt = now;\r\n return false;\r\n }\r\n if (stamp == lastCivil) return acquired;\r\n if (stamp > lastCivil && stamp - lastCivil <= 2UL) {\r\n if (advancing < 2) ++advancing;\r\n acquired = advancing >= 2;\r\n }\r\n else {\r\n advancing = 0;\r\n acquired = false;\r\n }\r\n lastCivil = stamp;\r\n advancedAt = now;\r\n return acquired;\r\n }\r\n}\r\n;\r\n struct GreenhouseLighting {\r\n bool request = false;\r\n bool output = false;\r\n bool previousPermission = false;\r\n uint32_t changedAt = 0;\r\n void start(uint32_t now) {\r\n request = output = previousPermission = false;\r\n changedAt = now;\r\n }\r\n bool scan(uint32_t now, uint16_t insideAdc, bool acquiredFreshClock, uint32_t civilSecondOfDay)\r\n {\r\n const uint32_t product = uint32_t(insideAdc) * 100UL;\r\n if (product <= 35UL * 1023UL) request = true;\r\n else if (product >= 45UL * 1023UL) request = false;\r\n const bool permission = acquiredFreshClock && civilSecondOfDay >= 6UL * 3600UL &&\r\n civilSecondOfDay < 22UL * 3600UL;\r\n if (!permission) {\r\n if (previousPermission || output) changedAt = now;\r\n output = false;\r\n }\r\n else if (request != output && uint32_t(now - changedAt) >= 5000UL) {\r\n output = request;\r\n changedAt = now;\r\n }\r\n previousPermission = permission;\r\n return output;\r\n }\r\n}\r\n;\r\n GreenhouseClockGuard ghClock;\r\n GreenhouseLighting ghLight;\r\n uint32_t ghInsideADC=1023, ghOutsideADC=0;\r\n", "Inputs": { "*": [ { "Name": "ClockSample", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ProbeClock.OutputPin" } }, "OnData": "uint16_t y,m,d,h,n,s,ms; AValue.DecodeDateTime(y,m,d,h,n,s,ms); if(m>12 || d>31 || h>23 || n>59 || s>59) ghClock.invalidate(); else ghClock.sample((uint32_t)millis(),y,(uint8_t)m,(uint8_t)d,(uint8_t)h,(uint8_t)n,(uint8_t)s);", "+": "TArduinoCustomCodeInputDateTimeElement" }, { "Name": "OutsideADC", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.OutsideLightADC.OutputPin" } }, "OnData": "ghOutsideADC = AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" }, { "Name": "InsideADC", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InsideLightADC.OutputPin" } }, "OnData": "ghInsideADC = AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" } ] }, "ClockInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "OnStart": "ghLight.start((uint32_t)millis());\r\n Light.Send(false);\r\n ClockFault.Send(true);\r\n", "Outputs": { "*": [ { "Name": "Light", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item12.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital(SPI-MISO)[ 12 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item18.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.light.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "ClockFault", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.FinalAlarm.InputPins._Pin3", "Name": "__OpenWireRootUnit__.FinalAlarm.InputPins.Pin [3]" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item11.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.clockFault.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" } ] }, "OnExecute": "const uint32_t now=(uint32_t)millis();\r\n ghClock.tick(now);\r\n const bool light=ghLight.scan(now,(uint16_t)ghInsideADC,ghClock.acquired,ghClock.secondOfDay);\r\n Light.Send(light);\r\n ClockFault.Send(!ghClock.acquired);\r\n Serial.print(F(\"GL|\"));\r\n Serial.print(now);\r\n Serial.print('|');\r\n Serial.print(ghOutsideADC);\r\n Serial.print('|');\r\n Serial.print(ghInsideADC);\r\n Serial.print('|');\r\n Serial.print(ghClock.acquired);\r\n Serial.print('|');\r\n Serial.print(ghClock.secondOfDay);\r\n Serial.print('|');\r\n Serial.print(ghLight.request);\r\n Serial.print('|');\r\n Serial.println(light);\r\n", "+": "TArduinoCustomCode" }, "X": 544, "Height": 176, "Y": 1184, "Type": "Component" }, { "Name": "FinalAlarm", "Width": 112, "Instance": { "InputPins": { "Pins": [ { "SourcePin": { "ID": "__OpenWireRootUnit__.AlarmClimate.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.SourceEmpty.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item3.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Timeout.OutputPin" }, "Type": "ptSink" }, { "SourcePin": { "ID": "__OpenWireRootUnit__.LightingController.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.LightingController.Outputs.ClockFault.OutputPin" }, "Type": "ptSink" } ], "Form": "__OpenWireRootUnit__", "Count": 4 }, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item13.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital(LED)(SPI-SCK)[ 13 ].DigitalInputPin" } ] }, "+": "TArduinoBooleanOr" }, "X": 1008, "Height": 112, "Y": 2080, "Type": "Component" }, { "Name": "ProbeDisplay", "Width": 128, "Instance": { "Columns": 20, "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.I2CChannels._Item0.InputPin", "Name": "__OpenWireRootUnit__.Arduino.I2CChannels.I2C.InputPin" } ] }, "Elements": { "*": [ { "InitialValue": " ", "Name": "TextField1", "Width": 20, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Outputs.Line1.OutputPin" } ] }, "+": "TArduinoLiquidCrystalElementTextField" }, { "Row": 1, "InitialValue": " ", "Name": "TextField2", "Width": 20, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Outputs.Line2.OutputPin" } ] }, "+": "TArduinoLiquidCrystalElementTextField" }, { "Row": 2, "InitialValue": " ", "Name": "TextField3", "Width": 20, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Outputs._Item2.OutputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Outputs.Line3.OutputPin" } ] }, "+": "TArduinoLiquidCrystalElementTextField" }, { "Row": 3, "InitialValue": " ", "Name": "TextField4", "Width": 20, "InputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.StatusDisplay.Outputs._Item3.OutputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Outputs.Line4.OutputPin" } ] }, "+": "TArduinoLiquidCrystalElementTextField" } ] }, "Rows": 4, "+": "TArduinoLiquidCrystalDisplayI2C" }, "X": 608, "Height": 336, "Y": 1376, "Type": "Component" }, { "Name": "StatusDisplay", "Width": 160, "Instance": { "Members": " struct GreenhouseDisplay {\r\n int16_t temperatureTenths = 0;\r\n uint16_t humidity = 0;\r\n uint32_t soil1 = 0, soil2 = 0, outside = 0, inside = 0, civil = 0;\r\n bool timeout = false, empty = true, invalidClimate = true, hot = false;\r\n bool clockFault = true, automatic = true, valve1 = false, valve2 = false;\r\n bool pump = false, fan = false, heat = false, light = false;\r\n bool rest = false, inhibit = true, ready = false;\r\n static unsigned percent(uint32_t adc) {\r\n if (adc > 1023) adc = 1023;\r\n return unsigned((adc * 100UL + 511UL) \/ 1023UL);\r\n }\r\n static void pad(char *out, const char *text) {\r\n uint8_t i = 0;\r\n while (i < 20 && text[i]) {\r\n out[i] = text[i];\r\n ++i;\r\n }\r\n while (i < 20) out[i++] = ' ';\r\n out[20] = 0;\r\n }\r\n const char *status() const {\r\n if (timeout) return \"TIMEOUT\";\r\n if (empty) return \"EMPTY\";\r\n if (invalidClimate) return \"TEMP INVALID\";\r\n if (hot) return \"OVER TEMP\";\r\n if (clockFault) return \"CLOCK INVALID\";\r\n if (!ready) return \"STARTING\";\r\n if (rest) return \"REST\";\r\n if (!automatic && inhibit) return \"RELEASE BUTTONS\";\r\n if (valve1) return \"WATER ZONE 1\";\r\n if (valve2) return \"WATER ZONE 2\";\r\n return \"READY\";\r\n }\r\n void render(uint32_t now, char rows[4][21]) const {\r\n char text[48];\r\n snprintf(text,sizeof(text),\"%s %s\",automatic ? \"A\" : \"M\",status());\r\n pad(rows[0],text);\r\n if (invalidClimate) {\r\n snprintf(text,sizeof(text),\"T:--.-C H:---%% F:%d\",int(fan));\r\n pad(rows[1],text);\r\n }\r\n else {\r\n const unsigned mag = temperatureTenths < 0 ? unsigned(-int32_t(temperatureTenths)) :\r\n unsigned(temperatureTenths);\r\n snprintf(text,sizeof(text),\"T:%s%u.%uC H:%u%%\",temperatureTenths < 0 ? \"-\" : \"\",mag\/10,\r\n mag%10,unsigned(humidity));\r\n pad(rows[1],text);\r\n }\r\n if ((now \/ 4000UL) % 2 == 0) snprintf(text,sizeof(text),\"S1:%3u%% S2:%3u%%\",percent(soil1),\r\n percent(soil2));\r\n else snprintf(text,sizeof(text),\"P%d V%d%d F%d H%d R%d\",int(pump),int(valve1),int(valve2),\r\n int(fan),int(heat),int(rest));\r\n pad(rows[2],text);\r\n if (clockFault) snprintf(text,sizeof(text),\"I%u O%u L%d --:--\",percent(inside),\r\n percent(outside),int(light));\r\n else snprintf(text,sizeof(text),\"I%u O%u L%d %02u:%02u\",percent(inside),percent(outside),\r\n int(light),unsigned(civil\/3600UL),unsigned((civil\/60UL)%60UL));\r\n pad(rows[3],text);\r\n }\r\n}\r\n;\r\n GreenhouseDisplay view;\r\n uint32_t lastRender=0;\r\n", "Inputs": { "*": [ { "Name": "Temperature", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.TemperatureOutputPin" } }, "OnData": "if(AValue>=-40 && AValue<=80) view.temperatureTenths=(int16_t)(AValue*10+(AValue>=0 ? 0.5f : -0.5f));", "+": "TArduinoCustomCodeInputAnalogElement" }, { "Name": "Humidity", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.QueuedDHT.HumidityOutputPin" } }, "OnData": "if(AValue>=0 && AValue<=100) view.humidity=(uint16_t)(AValue+0.5f);", "+": "TArduinoCustomCodeInputAnalogElement" }, { "Name": "soil1", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilADC1.OutputPin" } }, "OnData": "view.soil1=AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" }, { "Name": "soil2", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SoilADC2.OutputPin" } }, "OnData": "view.soil2=AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" }, { "Name": "outside", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.OutsideLightADC.OutputPin" } }, "OnData": "view.outside=AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" }, { "Name": "inside", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InsideLightADC.OutputPin" } }, "OnData": "view.inside=AValue;", "+": "TArduinoCustomCodeInputUnsignedElement" }, { "Name": "CivilClock", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ProbeClock.OutputPin" } }, "OnData": "uint16_t y,m,d,h,n,s,ms; AValue.DecodeDateTime(y,m,d,h,n,s,ms); if(h<24 && n<60 && s<60) view.civil=uint32_t(h)*3600UL+uint32_t(n)*60UL+s;", "+": "TArduinoCustomCodeInputDateTimeElement" }, { "Name": "timeout", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item3.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Timeout.OutputPin" } }, "OnData": "view.timeout=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "empty", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.SourceEmpty.OutputPin" } }, "OnData": "view.empty=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "invalidClimate", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InvalidClimate.OutputPin" } }, "OnData": "view.invalidClimate=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "hot", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HotMemory.OutputPin" } }, "OnData": "view.hot=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "clockFault", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.LightingController.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.LightingController.Outputs.ClockFault.OutputPin" } }, "OnData": "view.clockFault=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "automatic", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ModeSample.OutputPin" } }, "OnData": "view.automatic=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "valve1", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Valve1.OutputPin" } }, "OnData": "view.valve1=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "valve2", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item2.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Valve2.OutputPin" } }, "OnData": "view.valve2=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "pump", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Pump.OutputPin" } }, "OnData": "view.pump=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "fan", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs.Fan.OutputPin" } }, "OnData": "view.fan=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "heat", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs._Item1.OutputPin", "Name": "__OpenWireRootUnit__.ClimateOutputGuard.Outputs.Heater.OutputPin" } }, "OnData": "view.heat=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "light", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.LightingController.Outputs._Item0.OutputPin", "Name": "__OpenWireRootUnit__.LightingController.Outputs.Light.OutputPin" } }, "OnData": "view.light=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "rest", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item4.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Rest.OutputPin" } }, "OnData": "view.rest=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "inhibit", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.IrrigationController.Outputs._Item5.OutputPin", "Name": "__OpenWireRootUnit__.IrrigationController.Outputs.Inhibit.OutputPin" } }, "OnData": "view.inhibit=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "ready", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.InputsReady.OutputPin" } }, "OnData": "view.ready=AValue;", "+": "TArduinoCustomCodeInputDigitalElement" } ] }, "ClockInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.SoilClock.OutputPin" } ] }, "OnStart": "lastRender=(uint32_t)millis();\r\n char rows[4][21];\r\n view.render((uint32_t)millis(),rows);\r\n Line1.Send(rows[0]);\r\n Line2.Send(rows[1]);\r\n Line3.Send(rows[2]);\r\n Line4.Send(rows[3]);\r\n", "Outputs": { "*": [ { "Name": "Line1", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeDisplay.Elements._Item0.InputPin", "Name": "__OpenWireRootUnit__.ProbeDisplay.Elements.TextField1.InputPin" } ] }, "+": "TArduinoCustomCodeOutputTextElement" }, { "Name": "Line2", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeDisplay.Elements._Item1.InputPin", "Name": "__OpenWireRootUnit__.ProbeDisplay.Elements.TextField2.InputPin" } ] }, "+": "TArduinoCustomCodeOutputTextElement" }, { "Name": "Line3", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeDisplay.Elements._Item2.InputPin", "Name": "__OpenWireRootUnit__.ProbeDisplay.Elements.TextField3.InputPin" } ] }, "+": "TArduinoCustomCodeOutputTextElement" }, { "Name": "Line4", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.ProbeDisplay.Elements._Item3.InputPin", "Name": "__OpenWireRootUnit__.ProbeDisplay.Elements.TextField4.InputPin" } ] }, "+": "TArduinoCustomCodeOutputTextElement" } ] }, "OnExecute": "const uint32_t now=(uint32_t)millis();\r\n if(uint32_t(now-lastRender)<500UL) return;\r\n lastRender=now;\r\n char rows[4][21];\r\n view.render((uint32_t)millis(),rows);\r\n Line1.Send(rows[0]);\r\n Line2.Send(rows[1]);\r\n Line3.Send(rows[2]);\r\n Line4.Send(rows[3]);\r\n", "+": "TArduinoCustomCode" }, "X": 816, "Height": 784, "Y": 1936, "Type": "Component" }, { "Name": "ClimateOutputGuard", "Width": 176, "Instance": { "Members": "bool guardFanDemand = true;\r\nbool guardHeatDemand = false;\r\n\r\nvoid applyClimateOutputs() {\r\n if (guardFanDemand) {\r\n Heater.Send(false);\r\n Fan.Send(true);\r\n } else {\r\n Fan.Send(false);\r\n Heater.Send(guardHeatDemand);\r\n }\r\n}\r\n", "Inputs": { "*": [ { "Name": "FanRequest", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.FanFinal.OutputPin" } }, "OnData": "guardFanDemand = AValue; applyClimateOutputs();", "+": "TArduinoCustomCodeInputDigitalElement" }, { "Name": "HeatRequest", "InputPin": { "SourcePin": { "ID": "__OpenWireRootUnit__.HeaterFinal.OutputPin" } }, "OnData": "guardHeatDemand = AValue; applyClimateOutputs();", "+": "TArduinoCustomCodeInputDigitalElement" } ] }, "OnStart": "guardFanDemand = true;\r\nguardHeatDemand = false;\r\napplyClimateOutputs();\r\n", "Outputs": { "*": [ { "Name": "Fan", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item10.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 10 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item16.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.fan.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" }, { "Name": "Heater", "OutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item11.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital(SPI-MOSI)[ 11 ].DigitalInputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item17.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.heat.InputPin" } ] }, "+": "TArduinoCustomCodeOutputDigitalElement" } ] }, "+": "TArduinoCustomCode" }, "X": 816, "Height": 144, "Y": 336, "Type": "Component" }, { "Name": "QueuedDHT", "Width": 144, "Instance": { "SensorOutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Digital._Item7.DigitalInputPin", "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 7 ].DigitalInputPin" } ] }, "HumidityOutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.HumRange.InputPin" }, { "ID": "__OpenWireRootUnit__.TempGate.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item1.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.Humidity.InputPin" } ] }, "ClockInputPin": { "SourcePins": [ { "ID": "__OpenWireRootUnit__.ProbeSample.OutputPin" } ] }, "TemperatureOutputPin": { "SinkPins": [ { "ID": "__OpenWireRootUnit__.Arduino.Serial._Item0.InputPin", "Name": "__OpenWireRootUnit__.Arduino.Serial.Item[ 0 ] (115200).InputPin" }, { "ID": "__OpenWireRootUnit__.TempRange.InputPin" }, { "ID": "__OpenWireRootUnit__.HeatSet.InputPin" }, { "ID": "__OpenWireRootUnit__.HeatClear.InputPin" }, { "ID": "__OpenWireRootUnit__.FanSet.InputPin" }, { "ID": "__OpenWireRootUnit__.FanClear.InputPin" }, { "ID": "__OpenWireRootUnit__.HotSet.InputPin" }, { "ID": "__OpenWireRootUnit__.HotClear.InputPin" }, { "ID": "__OpenWireRootUnit__.StatusDisplay.Inputs._Item0.InputPin", "Name": "__OpenWireRootUnit__.StatusDisplay.Inputs.Temperature.InputPin" } ] }, "+": "FinnGreenhouse.TArduinoFinnGreenhouseClockedDHT22" }, "X": 672, "Height": 80, "Y": 1008, "Type": "Component" } ], "Type": "Diagram" } ], "Version": "2", "Content": "OpenWire Diagram", "Product": "Visuino Pro - Visual Arduino Programming" }