Convert temperatures with the Map block instead of writing the formula.
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 a number variable called reading.
- Above the loop we read a number from the terminal with Wait.
- Behind it we join a Map block to the terminal.
- What we map is the variable reading.
- It comes in from 32 to 212 Fahrenheit and goes out from 0 to 100 Celsius.
- 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.