Add two numbers

Read two numbers typed into the terminal and print their sum. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a text variable called terminal. We create two number variables, num1 and num2. Above the loop we clear the terminal with an empty Set. Behind it we read the first number with Wait. And behind that we read the second number the same way. Behind it we put Join with a sum inside. The sum adds num1 and num2. On the dashboard we draw a terminal and give it the variable terminal. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 144 words · Nairda

Chart a button

Read a push button on a digital pin and draw its value on the dashboard chart. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called reading. We declare a digital input called button on pin 2. Inside the loop we set reading to what the button gives us. On the dashboard we draw a chart and give it the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 117 words · Nairda

Chart a potentiometer

Read a potentiometer on an analog pin and draw its value on the dashboard chart. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called reading. We declare a potentiometer called pot on analog pin 0. Inside the loop we set reading to what the pot measures. On the dashboard we draw a chart and give it the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 115 words · Nairda

First name and last name

Join two texts read from the terminal into a single one. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create the text variables terminal, first, last and result. And two more text variables, last and result. Above the loop we clear the terminal with an empty Set. Behind it we read the first name with Wait. And behind that we read the last name the same way. Behind it we set result to the variable first. And we join the last name behind it. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 136 words · Nairda

Chart an ultrasonic sensor

Read distance with an ultrasonic sensor and draw it on the dashboard chart. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called reading. We declare an ultrasonic called ultra, trigger on 9 and echo on 10. Inside the loop we set reading to the distance the sensor measures. On the dashboard we draw a chart and give it the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 117 words · Nairda

Length of a text

Count how many letters a text has with the Length block. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a text variable called text with the value Hello. We create a number variable called length. Inside the loop we set length to the Length block. We drag the variable text into the slot of Length. On the dashboard we draw a label. And we drag the variable length onto the label. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 124 words · Nairda

A seconds counter

Count seconds by adding one to a variable on every turn of the loop. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called seconds. Inside the loop we wait 1000 milliseconds, which is one second. Behind it we set seconds to a sum. The sum is seconds plus 1, so it goes up one at a time. On the dashboard we draw a label and name it Seconds: And we drag the variable seconds onto the label. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 133 words · Nairda

Button and led

Turn a led on and off with a physical button, mapping the reading from 0 to 100. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We declare a led on pin 13. We declare a digital input called button on pin 2. We create a number variable called reading. Inside the loop we put a delay of 100 milliseconds. Behind it we set reading to a Map block. What we map is the button, which only gives 0 or 1. And it comes out between 0 and 100, which is the led brightness. Behind it we put the led and give it the variable reading. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 156 words · Nairda

Count to 10 seconds

Use a Repeat loop that runs a fixed number of times instead of forever. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a number variable called seconds. Inside the loop we set seconds back to 0. Behind it we add a Repeat loop of 10 turns. Inside the Repeat we wait one second. Behind the delay we set seconds to a sum. The sum is seconds plus 1, so it counts up to 10. On the dashboard we draw a label and name it Seconds: And we drag the variable seconds onto the label. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 147 words · Nairda

Dice simulator

Roll two dice with random numbers and print them in the terminal. This tutorial is part of the Nairda learning path. You can build it step by step inside the app, which checks every block you place before letting you move on. The steps We add a While loop, which repeats forever. We create a text variable called terminal. We create two number variables, die1 and die2. Above the loop we clear the terminal with an empty Set. Behind it we join the title Dice simulator. Behind it we set die1 to a random number. That random goes from 1 to 6, like a die. And behind that we set die2 to another random. This one also goes from 1 to 6. Behind it we join the label die 1: And behind it the value of die1. Behind it we join the label die 2: And the value of die2 behind it. On the dashboard we draw a terminal and give it the variable terminal. When you finish, the app takes you straight to the next tutorial in the path. ...

August 12, 2026 · 1 min · 184 words · Nairda