/* Callback function called when a command is received from the cloud.  */
int Leds_Controll(const char *str)
/* Callback function called when a command is received from the cloud.  */
int Leds_Controll(const char *str)
{
	DBG("cmd: [%s]", str);
	JsonNode *_main = json_decode(str);
	JsonNode *red = json_find_member(_main, "red");
	JsonNode *blue = json_find_member(_main, "blue");
	JsonNode *green = json_find_member(_main, "green");
	cn0410->Controll((float)red->number_, (float)blue->number_, (float)green->number_);
	json_delete(_main);
	return 0;
}