{
  "Config": {
    "Build": {
      "Board": "arduino:avr:uno"
    }
  },
  "Units": [
    {
      "*": [
        {
          "Name": "Arduino",
          "Width": 208,
          "Instance": {
            "Digital": {
              "*": [
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.RowsInputPins._Pin0",
                        "Name": "__OpenWireRootUnit__.Keypad1.RowsInputPins.Pin [0]"
                      }
                    ]
                  },
                  "+": "TArduinoAdditionalDigitalInterruptChannel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.RowsInputPins._Pin1",
                        "Name": "__OpenWireRootUnit__.Keypad1.RowsInputPins.Pin [1]"
                      }
                    ]
                  },
                  "+": "TArduinoBasicDigitalPWMInterruptChannel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.RowsInputPins._Pin2",
                        "Name": "__OpenWireRootUnit__.Keypad1.RowsInputPins.Pin [2]"
                      }
                    ]
                  },
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.RowsInputPins._Pin3",
                        "Name": "__OpenWireRootUnit__.Keypad1.RowsInputPins.Pin [3]"
                      }
                    ]
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "AnalogInputPin": {
                    "SourcePin": {
                      "ID": "__OpenWireRootUnit__.AnalogMux1.OutputPin"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMSPI0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                }
              ]
            },
            "Modules": {
              "*": [
                {
                  "+": "TArduinoEEPROMModule"
                },
                {
                  "+": "TArduinoWatchdogTimerModule"
                },
                {
                  "+": "TArduinoProcessor328Module"
                },
                {
                  "+": "TArduino_AVR328_AnalogInput_Config"
                }
              ]
            },
            "Serial": {
              "*": [
                {
                  "+": "TArduinoBreakHardwareSerial0"
                }
              ]
            },
            "I2CChannels": {
              "*": [
                {
                  "+": "TArduinoI2C"
                }
              ]
            },
            "SPIChannels": {
              "*": [
                {
                  "+": "TArduinoSPI"
                }
              ]
            },
            "BoardType": "Arduino Uno R3",
            "+": "TArduinoBoard"
          },
          "X": 1376,
          "Height": 1088,
          "Y": 256,
          "Type": "Component"
        },
        {
          "Name": "SquareAnalogGenerator1",
          "Width": 176,
          "Instance": {
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AnalogMux1.InputPins._Pin0",
                  "Name": "__OpenWireRootUnit__.AnalogMux1.InputPins.Pin [0]"
                }
              ]
            },
            "+": "TArduinoSquareGenerator"
          },
          "X": 864,
          "Height": 64,
          "Y": 608,
          "Type": "Component"
        },
        {
          "Name": "SineAnalogGenerator1",
          "Width": 176,
          "Instance": {
            "Frequency": 7,
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AnalogMux1.InputPins._Pin1",
                  "Name": "__OpenWireRootUnit__.AnalogMux1.InputPins.Pin [1]"
                }
              ]
            },
            "+": "TArduinoSineGenerator"
          },
          "X": 864,
          "Height": 64,
          "Y": 688,
          "Type": "Component"
        },
        {
          "Name": "TriangleAnalogGenerator1",
          "Width": 192,
          "Instance": {
            "Frequency": 3,
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AnalogMux1.InputPins._Pin2",
                  "Name": "__OpenWireRootUnit__.AnalogMux1.InputPins.Pin [2]"
                }
              ]
            },
            "+": "TArduinoTriangleAnalogGenerator"
          },
          "X": 864,
          "Height": 64,
          "Y": 768,
          "Type": "Component"
        },
        {
          "Name": "AnalogMux1",
          "Width": 112,
          "Instance": {
            "InputPins": {
              "Pins": [
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.SquareAnalogGenerator1.OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.SineAnalogGenerator1.OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.TriangleAnalogGenerator1.OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.GaussAnalogGenerator1.OutputPin"
                  },
                  "Type": "ptSink"
                }
              ],
              "Form": "__OpenWireRootUnit__",
              "Count": 4
            },
            "SelectInputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.IntegerValue1.OutputPin"
              }
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.Arduino.Digital._Item6.AnalogInputPin",
                  "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 6 ].AnalogInputPin"
                }
              ]
            },
            "+": "TArduinoAnalogMux"
          },
          "X": 1232,
          "Height": 128,
          "Y": 640,
          "Type": "Component"
        },
        {
          "Name": "GaussAnalogGenerator1",
          "Width": 160,
          "Instance": {
            "ClockInputPin": {
              "SourcePins": [
                {
                  "ID": "__OpenWireRootUnit__.ClockGenerator1.OutputPin"
                }
              ]
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AnalogMux1.InputPins._Pin3",
                  "Name": "__OpenWireRootUnit__.AnalogMux1.InputPins.Pin [3]"
                }
              ]
            },
            "+": "TArduinoGaussAnalogGenerator"
          },
          "X": 896,
          "Height": 48,
          "Y": 880,
          "Type": "Component"
        },
        {
          "Name": "ClockGenerator1",
          "Width": 128,
          "Instance": {
            "Frequency": 5,
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.GaussAnalogGenerator1.ClockInputPin"
                }
              ]
            },
            "+": "TArduinoClockGenerator"
          },
          "X": 736,
          "Height": 48,
          "Y": 880,
          "Type": "Component"
        },
        {
          "Name": "Keypad1",
          "Width": 144,
          "Instance": {
            "+": "TArduinoKeypad",
            "Keys": {
              "*": [
                {
                  "Name": "Digital Key1",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.IntegerValue1.Elements._Item0.InputPin",
                        "Name": "__OpenWireRootUnit__.IntegerValue1.Elements.Set Value1 (0).InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoDigitalKeypadKey"
                },
                {
                  "Name": "Digital Key2",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.IntegerValue1.Elements._Item1.InputPin",
                        "Name": "__OpenWireRootUnit__.IntegerValue1.Elements.Set Value2 (1).InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoDigitalKeypadKey"
                },
                {
                  "Name": "Digital Key3",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.IntegerValue1.Elements._Item2.InputPin",
                        "Name": "__OpenWireRootUnit__.IntegerValue1.Elements.Set Value3 (2).InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoDigitalKeypadKey"
                },
                {
                  "Name": "Digital Key4",
                  "OutputPin": {
                    "SinkPins": [
                      {
                        "ID": "__OpenWireRootUnit__.IntegerValue1.Elements._Item3.InputPin",
                        "Name": "__OpenWireRootUnit__.IntegerValue1.Elements.Set Value4 (3).InputPin"
                      }
                    ]
                  },
                  "+": "TArduinoDigitalKeypadKey"
                }
              ]
            },
            "ColumnsOutputPins": {
              "Count": 1
            },
            "RowsInputPins": {
              "Form": "__OpenWireRootUnit__",
              "Pins": [
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Arduino.Digital._Item2.OutputPin",
                    "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 2 ].OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Arduino.Digital._Item3.OutputPin",
                    "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 3 ].OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Arduino.Digital._Item4.OutputPin",
                    "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 4 ].OutputPin"
                  },
                  "Type": "ptSink"
                },
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Arduino.Digital._Item5.OutputPin",
                    "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 5 ].OutputPin"
                  },
                  "Type": "ptSink"
                }
              ]
            }
          },
          "X": 256,
          "Height": 224,
          "Y": 800,
          "Type": "Component"
        },
        {
          "Name": "IntegerValue1",
          "Width": 144,
          "Instance": {
            "Elements": {
              "*": [
                {
                  "Name": "Set Value1",
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.Keys._Item0.OutputPin",
                        "Name": "__OpenWireRootUnit__.Keypad1.Keys.Digital Key1.OutputPin"
                      }
                    ]
                  },
                  "+": "TArduinoIntegerSetValueElement"
                },
                {
                  "+": "TArduinoIntegerSetValueElement",
                  "Name": "Set Value2",
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.Keys._Item1.OutputPin",
                        "Name": "__OpenWireRootUnit__.Keypad1.Keys.Digital Key2.OutputPin"
                      }
                    ]
                  },
                  "Value": 1
                },
                {
                  "+": "TArduinoIntegerSetValueElement",
                  "Name": "Set Value3",
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.Keys._Item2.OutputPin",
                        "Name": "__OpenWireRootUnit__.Keypad1.Keys.Digital Key3.OutputPin"
                      }
                    ]
                  },
                  "Value": 2
                },
                {
                  "+": "TArduinoIntegerSetValueElement",
                  "Name": "Set Value4",
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.Keypad1.Keys._Item3.OutputPin",
                        "Name": "__OpenWireRootUnit__.Keypad1.Keys.Digital Key4.OutputPin"
                      }
                    ]
                  },
                  "Value": 3
                }
              ]
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AnalogMux1.SelectInputPin"
                }
              ]
            },
            "+": "TArduinoIntegerValue"
          },
          "X": 528,
          "Height": 208,
          "Y": 832,
          "Type": "Component"
        }
      ],
      "Name": "__OpenWireRootUnit__",
      "Type": "Diagram",
      "Links": [
        {
          "Routed": true,
          "Begin": {
            "ID": "SquareAnalogGenerator1.OutputPin",
            "Y": 640,
            "X": 1040
          },
          "Name": "TOWELink2",
          "End": {
            "ID": "AnalogMux1.InputPins._Pin0",
            "Y": 688,
            "X": 1232
          },
          "Points": [
            {
              "Y": 640,
              "X": 1056
            },
            {
              "Y": 688,
              "X": 1056
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "TriangleAnalogGenerator1.OutputPin",
            "Y": 800,
            "X": 1056
          },
          "Name": "TOWELink4",
          "End": {
            "ID": "AnalogMux1.InputPins._Pin2",
            "Y": 720,
            "X": 1232
          },
          "Points": [
            {
              "Y": 800,
              "X": 1072
            },
            {
              "Y": 720,
              "X": 1072
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "SineAnalogGenerator1.OutputPin",
            "Y": 720,
            "X": 1040
          },
          "Name": "TOWELink3",
          "End": {
            "ID": "AnalogMux1.InputPins._Pin1",
            "Y": 704,
            "X": 1232
          },
          "Points": [
            {
              "Y": 720,
              "X": 1056
            },
            {
              "Y": 704,
              "X": 1056
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "GaussAnalogGenerator1.OutputPin",
            "Y": 912,
            "X": 1056
          },
          "Name": "TOWELink5",
          "End": {
            "ID": "AnalogMux1.InputPins._Pin3",
            "Y": 736,
            "X": 1232
          },
          "Points": [
            {
              "Y": 912,
              "X": 1088
            },
            {
              "Y": 736,
              "X": 1088
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "ClockGenerator1.OutputPin",
            "Y": 912,
            "X": 864
          },
          "Name": "TOWELink6",
          "End": {
            "ID": "GaussAnalogGenerator1.ClockInputPin",
            "Y": 912,
            "X": 896
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "AnalogMux1.OutputPin",
            "Y": 672,
            "X": 1344
          },
          "Name": "TOWELink7",
          "End": {
            "ID": "Arduino.Digital._Item6.AnalogInputPin",
            "Y": 720,
            "X": 1376
          },
          "Points": [
            {
              "Y": 672,
              "X": 1360
            },
            {
              "Y": 720,
              "X": 1360
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Arduino.Digital._Item2.OutputPin",
            "Y": 544,
            "X": 1584
          },
          "Name": "TOWELink1",
          "End": {
            "ID": "Keypad1.RowsInputPins._Pin0",
            "Y": 848,
            "X": 256
          },
          "Points": [
            {
              "Y": 544,
              "X": 1696
            },
            {
              "Y": 144,
              "X": 1696
            },
            {
              "Y": 144,
              "X": 944
            },
            {
              "Y": 96,
              "X": 944
            },
            {
              "Y": 96,
              "X": 160
            },
            {
              "Y": 848,
              "X": 160
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Arduino.Digital._Item3.OutputPin",
            "Y": 576,
            "X": 1584
          },
          "Name": "TOWELink8",
          "End": {
            "ID": "Keypad1.RowsInputPins._Pin1",
            "Y": 864,
            "X": 256
          },
          "Points": [
            {
              "Y": 576,
              "X": 1680
            },
            {
              "Y": 160,
              "X": 1680
            },
            {
              "Y": 160,
              "X": 208
            },
            {
              "Y": 864,
              "X": 208
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Arduino.Digital._Item4.OutputPin",
            "Y": 624,
            "X": 1584
          },
          "Name": "TOWELink9",
          "End": {
            "ID": "Keypad1.RowsInputPins._Pin2",
            "Y": 880,
            "X": 256
          },
          "Points": [
            {
              "Y": 624,
              "X": 1664
            },
            {
              "Y": 176,
              "X": 1664
            },
            {
              "Y": 176,
              "X": 176
            },
            {
              "Y": 880,
              "X": 176
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Arduino.Digital._Item5.OutputPin",
            "Y": 656,
            "X": 1584
          },
          "Name": "TOWELink10",
          "End": {
            "ID": "Keypad1.RowsInputPins._Pin3",
            "Y": 896,
            "X": 256
          },
          "Points": [
            {
              "Y": 656,
              "X": 1664
            },
            {
              "Y": 1424,
              "X": 1664
            },
            {
              "Y": 1424,
              "X": 176
            },
            {
              "Y": 896,
              "X": 176
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "IntegerValue1.OutputPin",
            "Y": 864,
            "X": 672
          },
          "Name": "TOWELink15",
          "End": {
            "ID": "AnalogMux1.SelectInputPin",
            "Y": 752,
            "X": 1232
          },
          "Points": [
            {
              "Y": 864,
              "X": 1104
            },
            {
              "Y": 752,
              "X": 1104
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Keypad1.Keys._Item0.OutputPin",
            "Y": 896,
            "X": 400
          },
          "Name": "TOWELink11",
          "End": {
            "ID": "IntegerValue1.Elements._Item0.InputPin",
            "Y": 896,
            "X": 528
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Keypad1.Keys._Item1.OutputPin",
            "Y": 928,
            "X": 400
          },
          "Name": "TOWELink12",
          "End": {
            "ID": "IntegerValue1.Elements._Item1.InputPin",
            "Y": 928,
            "X": 528
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Keypad1.Keys._Item2.OutputPin",
            "Y": 960,
            "X": 400
          },
          "Name": "TOWELink13",
          "End": {
            "ID": "IntegerValue1.Elements._Item2.InputPin",
            "Y": 960,
            "X": 528
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Keypad1.Keys._Item3.OutputPin",
            "Y": 992,
            "X": 400
          },
          "Name": "TOWELink14",
          "End": {
            "ID": "IntegerValue1.Elements._Item3.InputPin",
            "Y": 992,
            "X": 528
          }
        }
      ]
    }
  ],
  "Version": "2",
  "Content": "OpenWire Diagram",
  "Product": "Visuino Pro - Visual Arduino Programming"
}
