This tutorial contains the timer function, which what it does is indicate a series of parameters to indicate the time that the parameters are executed within the timer. In this case, the timer indicates that after 5 seconds, the LEDs turn on every 2 seconds, for a total of 3 times.

JSON code:

{	"do": [		{			"timer": {				"after": 5,				"do": [					{						"light": {							"color": 1,							"duration": 1,							"led": 0						}					}				],				"every": 2,				"id": 0,				"play": 3			}		}	]}
  • Lesson 4: Text to speech

    As a first function, this code will read a phrase that is indicated with the ‘say’ function, and then with the timer function, its function is that every 5 seconds it will read the number of minutes at that moment.JSON code:

    Read more