Skip to main content

First Steps

To learn how to use Node Blue, let's start with the basics: blink a LED.

On most Arduino and compatible boards, there's a LED connected to pin 13. We'll blink this LED using several methods.

If you haven't already, install and open your Node Blue environment (you'll find instructions here).

Plug the board you want to program, select it from the second drop-down list at the top, and choose the board type corresponding to the board you've connected (if you have several boards connected and you're not sure which one to select, unplug all the boards except the one you want to work with):

Selecting board

In the left column, you'll see a list of all available modules. You'll use these modules to create your application.

Scroll down the list and in the "Time" group, you'll find the "SW Timer" module (SW means Software, and HW means Hardware)

You can also type "timer" in the search box at the bottom left. This will only display modules that contain the word "timer".

Left-click and drag this module into the central page.

You should see this:

Software Timer module

Click on the "Software Timer" module. Its properties will appear in the right sidebar.

Change the last parameter, "Pin," and choose the pin on which you want to flash the LED. For example, on the ElectroSeed SamD21 WB, choose "D13":

Timer pin selection

Changes are applied automatically — no need to click a confirmation button.

Click (or type Ctrl-U). The program will be compiled and automatically loaded onto the selected board.

The first compilation may take several minutes, this is normal. Subsequent compilations will be faster unless you add new modules or change compile options.

Once the upload is complete, you should see the LED flashing at a frequency of 1 Hz (Hz = Hertz, number of cycles per second).

Congratulations, you've created your first application using Node Blue!

You will now be able to try out lots of things with the board you connected, as your development environment is configured for this board.

Click on the "Software Timer" module to show its properties in the sidebar again, then:

  • Change the frequency value, for example, 5 Hz

  • Upload the new program and observe the difference.

Now let's discover the main features of Node Blue interface in this tutorial.