{
  "Config": {
    "Build": {
      "Board": "arduino:avr:uno"
    }
  },
  "Units": [
    {
      "Name": "__OpenWireRootUnit__",
      "Selection": [
        "TextValue1"
      ],
      "Links": [
        {
          "Routed": true,
          "Begin": {
            "ID": "LedController1.ChipSelectOutputPin",
            "Y": 912,
            "X": 1696
          },
          "Name": "TOWELink1",
          "End": {
            "ID": "Arduino.Digital._Item10.DigitalInputPin",
            "Y": 864,
            "X": 1840
          },
          "Points": [
            {
              "Y": 912,
              "X": 1744
            },
            {
              "Y": 864,
              "X": 1744
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "LedController1.OutputPin",
            "Y": 896,
            "X": 1696
          },
          "Name": "TOWELink2",
          "End": {
            "ID": "Arduino.SPIChannels._Item0.InputPin",
            "Y": 1312,
            "X": 1840
          },
          "Points": [
            {
              "Y": 896,
              "X": 1760
            },
            {
              "Y": 1312,
              "X": 1760
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "TextValue1.OutputPin",
            "Y": 880,
            "X": 368
          },
          "Name": "TOWELink3",
          "End": {
            "ID": "LedController1.PixelGroups._Item0.Elements._Item0.InputPin",
            "Y": 976,
            "X": 1520
          },
          "Points": [
            {
              "Y": 880,
              "X": 400
            },
            {
              "Y": 768,
              "X": 400
            },
            {
              "Y": 768,
              "X": 1440
            },
            {
              "Y": 976,
              "X": 1440
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "MultiSource1.OutputPins._Pin2",
            "Y": 1024,
            "X": 1360
          },
          "Name": "TOWELink7",
          "End": {
            "ID": "LedController1.ClockInputPin",
            "Y": 1072,
            "X": 1520
          },
          "Points": [
            {
              "Y": 1024,
              "X": 1408
            },
            {
              "Y": 1072,
              "X": 1408
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "TextValue1.OutputPin",
            "Y": 880,
            "X": 368
          },
          "Name": "TOWELink8",
          "End": {
            "ID": "TextLength1.InputPin",
            "Y": 880,
            "X": 432
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "TextLength1.OutputPin",
            "Y": 880,
            "X": 528
          },
          "Name": "TOWELink9",
          "End": {
            "ID": "MultiplyByValue1.InputPin",
            "Y": 880,
            "X": 576
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "MultiplyByValue1.OutputPin",
            "Y": 880,
            "X": 704
          },
          "Name": "TOWELink10",
          "End": {
            "ID": "AddValue1.InputPin",
            "Y": 880,
            "X": 752
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "AddValue1.OutputPin",
            "Y": 880,
            "X": 848
          },
          "Name": "TOWELink11",
          "End": {
            "ID": "Inverse1.InputPin",
            "Y": 880,
            "X": 880
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "Inverse1.OutputPin",
            "Y": 880,
            "X": 960
          },
          "Name": "TOWELink12",
          "End": {
            "ID": "UpDownCounter1.Min.ValueInputPin",
            "Y": 976,
            "X": 992
          },
          "Points": [
            {
              "Y": 880,
              "X": 976
            },
            {
              "Y": 976,
              "X": 976
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "UpDownCounter1.OutputPin",
            "Y": 1024,
            "X": 1136
          },
          "Name": "TOWELink13",
          "End": {
            "ID": "MultiSource1.InputPin",
            "Y": 976,
            "X": 1264
          },
          "Points": [
            {
              "Y": 1024,
              "X": 1168
            },
            {
              "Y": 976,
              "X": 1168
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "PulseGenerator1.OutputPin",
            "Y": 960,
            "X": 848
          },
          "Name": "TOWELink14",
          "End": {
            "ID": "UpDownCounter1.DownInputPin",
            "Y": 1008,
            "X": 992
          },
          "Points": [
            {
              "Y": 960,
              "X": 912
            },
            {
              "Y": 1008,
              "X": 912
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "UpDownCounter1.Min.ReachedOutputPin",
            "Y": 976,
            "X": 1136
          },
          "Name": "TOWELink15",
          "End": {
            "ID": "UpDownCounter1.ResetInputPin",
            "Y": 1024,
            "X": 992
          },
          "Points": [
            {
              "Y": 976,
              "X": 1152
            },
            {
              "Y": 1120,
              "X": 1152
            },
            {
              "Y": 1120,
              "X": 976
            },
            {
              "Y": 1024,
              "X": 976
            }
          ]
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "MultiSource1.OutputPins._Pin0",
            "Y": 992,
            "X": 1360
          },
          "Name": "TOWELink4",
          "End": {
            "ID": "LedController1.PixelGroups.*._0.Elements.*._0.XInputPin",
            "Y": 992,
            "X": 1520
          }
        },
        {
          "Routed": true,
          "Begin": {
            "ID": "MultiSource1.OutputPins._Pin1",
            "Y": 1008,
            "X": 1360
          },
          "Name": "TOWELink5",
          "End": {
            "ID": "LedController1.PixelGroups._Item0.Elements._Item0.ClockInputPin",
            "Y": 960,
            "X": 1520
          },
          "Points": [
            {
              "Y": 1008,
              "X": 1376
            },
            {
              "Y": 960,
              "X": 1376
            }
          ]
        }
      ],
      "*": [
        {
          "Name": "Arduino",
          "Width": 208,
          "Instance": {
            "Digital": {
              "*": [
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSerial0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalInterruptChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMInterruptChannel"
                },
                {
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "+": "TArduinoAdditionalDigitalChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "DigitalInputPin": {
                    "SourcePin": {
                      "ID": "__OpenWireRootUnit__.LedController1.ChipSelectOutputPin"
                    }
                  },
                  "+": "TArduinoBasicDigitalPWMChannel"
                },
                {
                  "+": "TArduinoBasicDigitalPWMSPI0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "+": "TArduinoAdditionalDigitalSPI0Channel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalChannel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                },
                {
                  "+": "TArduinoCombinedAnalogDigitalI2C0Channel"
                }
              ]
            },
            "Modules": {
              "*": [
                {
                  "+": "TArduinoEEPROMModule"
                },
                {
                  "+": "TArduinoWatchdogTimerModule"
                },
                {
                  "+": "TArduinoProcessor328Module"
                },
                {
                  "+": "TArduino_AVR328_AnalogInput_Config"
                }
              ]
            },
            "Serial": {
              "*": [
                {
                  "+": "TArduinoBreakHardwareSerial0"
                }
              ]
            },
            "I2CChannels": {
              "*": [
                {
                  "+": "TArduinoI2C"
                }
              ]
            },
            "SPIChannels": {
              "*": [
                {
                  "InputPin": {
                    "SourcePins": [
                      {
                        "ID": "__OpenWireRootUnit__.LedController1.OutputPin"
                      }
                    ]
                  },
                  "+": "TArduinoSPI"
                }
              ]
            },
            "BoardType": "Arduino UNO R3",
            "+": "TArduinoBoard"
          },
          "X": 1840,
          "Height": 1088,
          "Y": 256,
          "Type": "Component"
        },
        {
          "Name": "LedController1",
          "Width": 176,
          "Instance": {
            "ChipSelectOutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.Arduino.Digital._Item10.DigitalInputPin",
                  "Name": "__OpenWireRootUnit__.Arduino.Digital.Digital[ 10 ].DigitalInputPin"
                }
              ]
            },
            "ClockInputPin": {
              "SourcePins": [
                {
                  "ID": "__OpenWireRootUnit__.MultiSource1.OutputPins._Pin2",
                  "Name": "__OpenWireRootUnit__.MultiSource1.OutputPins.Pin [2]"
                }
              ]
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.Arduino.SPIChannels._Item0.InputPin",
                  "Name": "__OpenWireRootUnit__.Arduino.SPIChannels.SPI.InputPin"
                }
              ]
            },
            "PixelGroups": {
              "*": [
                {
                  "Name": "2D Graphics1",
                  "Width": 96,
                  "MirrorHorizontal": true,
                  "ReverseHorizontal": true,
                  "Elements": {
                    "*": [
                      {
                        "InitialValue": "",
                        "Name": "Text Field1",
                        "ClockInputPin": {
                          "SourcePins": [
                            {
                              "ID": "__OpenWireRootUnit__.MultiSource1.OutputPins._Pin1",
                              "Name": "__OpenWireRootUnit__.MultiSource1.OutputPins.Pin [1]"
                            }
                          ]
                        },
                        "InputPin": {
                          "SourcePin": {
                            "ID": "__OpenWireRootUnit__.TextValue1.OutputPin"
                          }
                        },
                        "@": [
                          {
                            "SourcePin": {
                              "ID": "__OpenWireRootUnit__.MultiSource1.OutputPins._Pin0",
                              "Name": "__OpenWireRootUnit__.MultiSource1.OutputPins.Pin [0]"
                            },
                            "@": "X",
                            "Component": "LedController1",
                            "PinName": "PixelGroups.Item [ 0 ].Elements.Item [ 0 ].X",
                            "+": "TOWIntegerSinkPinBinding"
                          },
                          {
                            "@": "Y",
                            "Component": "LedController1",
                            "PinName": "PixelGroups.Item [ 0 ].Elements.Item [ 0 ].Y",
                            "+": "TOWIntegerSinkPinBinding"
                          }
                        ],
                        "+": "TArduinoMonochromeGraphicsElementTextFeld"
                      }
                    ]
                  },
                  "+": "TArduinoMaximLedGraphics2DPixelGroup"
                }
              ]
            },
            "Intensity": 0.100000001490116,
            "+": "TArduinoMaximLedController"
          },
          "X": 1520,
          "Height": 224,
          "Y": 864,
          "Type": "Component"
        },
        {
          "Name": "TextValue1",
          "Width": 112,
          "Instance": {
            "+": "TArduinoTextValue",
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.LedController1.PixelGroups._Item0.Elements._Item0.InputPin",
                  "Name": "__OpenWireRootUnit__.LedController1.PixelGroups.2D Graphics1.Elements.Text Field1.InputPin"
                },
                {
                  "ID": "__OpenWireRootUnit__.TextLength1.InputPin"
                }
              ]
            },
            "Value": "HAPPY HOLIDAYS, WARM WISHES, AND A SPARK OF HOLIDAY MAGIC! - HAVE FUN WITH VISUINO! :)"
          },
          "X": 256,
          "Height": 48,
          "Y": 848,
          "Type": "Component"
        },
        {
          "Name": "PulseGenerator1",
          "Width": 128,
          "Instance": {
            "Frequency": 20,
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.UpDownCounter1.DownInputPin"
                }
              ]
            },
            "+": "TArduinoPulseGenerator"
          },
          "X": 720,
          "Height": 48,
          "Y": 928,
          "Type": "Component"
        },
        {
          "Name": "MultiSource1",
          "Width": 96,
          "Instance": {
            "+": "TArduinoIntegerMultiSource",
            "InputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.UpDownCounter1.OutputPin"
              }
            },
            "OutputPins": {
              "Pins": [
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "ID": "__OpenWireRootUnit__.LedController1.PixelGroups.*._0.Elements.*._0.XInputPin",
                      "Name": "__OpenWireRootUnit__.LedController1.PixelGroups.Elements.Text Field1.XInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "ID": "__OpenWireRootUnit__.LedController1.PixelGroups._Item0.Elements._Item0.ClockInputPin",
                      "Name": "__OpenWireRootUnit__.LedController1.PixelGroups.2D Graphics1.Elements.Text Field1.ClockInputPin"
                    }
                  ]
                },
                {
                  "Type": "ptSource",
                  "SinkPins": [
                    {
                      "ID": "__OpenWireRootUnit__.LedController1.ClockInputPin"
                    }
                  ]
                }
              ],
              "Form": "__OpenWireRootUnit__",
              "Count": 3
            }
          },
          "X": 1264,
          "Height": 96,
          "Y": 944,
          "Type": "Component"
        },
        {
          "Name": "TextLength1",
          "Width": 96,
          "Instance": {
            "InputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.TextValue1.OutputPin"
              }
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.MultiplyByValue1.InputPin"
                }
              ]
            },
            "+": "TArduinoTextLength"
          },
          "X": 432,
          "Height": 48,
          "Y": 848,
          "Type": "Component"
        },
        {
          "Name": "Inverse1",
          "Width": 80,
          "Instance": {
            "InputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.AddValue1.OutputPin"
              }
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.UpDownCounter1.Min.ValueInputPin"
                }
              ]
            },
            "+": "TArduinoIntegerInverse"
          },
          "X": 880,
          "Height": 48,
          "Y": 848,
          "Type": "Component"
        },
        {
          "Name": "MultiplyByValue1",
          "Width": 128,
          "Instance": {
            "+": "TArduinoIntegerMultiplyByValue",
            "InputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.TextLength1.OutputPin"
              }
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.AddValue1.InputPin"
                }
              ]
            },
            "Value": 6
          },
          "X": 576,
          "Height": 48,
          "Y": 848,
          "Type": "Component"
        },
        {
          "Name": "AddValue1",
          "Width": 96,
          "Instance": {
            "+": "TArduinoIntegerAddValue",
            "InputPin": {
              "SourcePin": {
                "ID": "__OpenWireRootUnit__.MultiplyByValue1.OutputPin"
              }
            },
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.Inverse1.InputPin"
                }
              ]
            },
            "Value": 96
          },
          "X": 752,
          "Height": 48,
          "Y": 848,
          "Type": "Component"
        },
        {
          "Name": "UpDownCounter1",
          "Width": 144,
          "Instance": {
            "Min": {
              "ReachedOutputPin": {
                "SinkPins": [
                  {
                    "ID": "__OpenWireRootUnit__.UpDownCounter1.ResetInputPin"
                  }
                ]
              },
              "@": [
                {
                  "SourcePin": {
                    "ID": "__OpenWireRootUnit__.Inverse1.OutputPin"
                  },
                  "PinName": "Min.Value",
                  "Component": "UpDownCounter1",
                  "@": "Value",
                  "+": "TOWIntegerSinkPinBinding"
                }
              ]
            },
            "InitialValue": 96,
            "OutputPin": {
              "SinkPins": [
                {
                  "ID": "__OpenWireRootUnit__.MultiSource1.InputPin"
                }
              ]
            },
            "DownInputPin": {
              "SourcePins": [
                {
                  "ID": "__OpenWireRootUnit__.PulseGenerator1.OutputPin"
                }
              ]
            },
            "ResetInputPin": {
              "SourcePins": [
                {
                  "ID": "__OpenWireRootUnit__.UpDownCounter1.Min.ReachedOutputPin"
                }
              ]
            },
            "+": "TArduinoUpDownCounter"
          },
          "X": 992,
          "Height": 112,
          "Y": 928,
          "Type": "Component"
        }
      ],
      "Type": "Diagram"
    }
  ],
  "Version": "2",
  "Content": "OpenWire Diagram",
  "Product": "Visuino Pro - Visual Arduino Programming"
}
