Goal of this example is to demonstrate how to create a blinking LED using basic flowchart elements.

You will need:

Wiring Diagram:

How to make it work:

The flowchart will consists of the following elements:

Flowchart Logic:

  1. The program starts with the Start element.
  2. It then enters a loop where it turns the LED ON using the first Switch element.
  3. The program waits for 1 second using the first Wait element.
  4. Next, it turns the LED OFF using the second Switch element.
  5. It waits for another 1 second using the second Wait element.
  6. This loop continues indefinitely until the program is manually stopped or terminated using the End element.

Creating the Flowchart:

  1. Create new varible by clicking the "Variables" button in the main window toolbar.
    Name it however u want and set its type to Boolean.
  2. Create new device by clicking the "Devices" button in the main window toolbar.
    Name it LED for convenience and set its type to Output.
  3. To add new elements to the canvas, click the "Elements" button in the main window toolbar, then click "add Element".
  4. Select the required elements from the list and place them on the canvas.
  5. Connect the elements in the following order:

Flowchart Diagram: