## 3 Create the logic (blocks) of your mobile app (Programming → Blocks)

Now we are ready with the User- Interface and we can continue with the Block- Programming.

- Change the editor to Blocks:

- Try to re-build this Program:
  You will find the blocks on the left side. You will need the following categories (The colors will help you, to find the correct categories):
  - Control
  - Logic
  - UrsPahoMqttClient
  - Button 1 and 2
  - Switch 1