Lesson 3: Timer

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			}		}	]}