Find attached a simple set of codes to start tinkering with IoT projects.

To use them, you have to right-click on the main "Repeat" block you want to use and click on "enable block"