 	log_dbg("\n\r");
 	pinMode(14, OUTPUT);
 	analogWrite(14, 1023);
-	myservo.attach(13);
 }
 
 /* called once on mqtt message received */

			log_dbg("hit light, msg(value): %s(%d)\n\r", token, val);
			analogWrite(14, val);
		}
	} else if (strcmp(token, "servo:") == 0) {
		token = strtok(NULL, "\0");
		if (token) {
			int val = atoi(token);
			log_dbg("hit servo, msg(value): %s(%d)\n\r", token, val);
			myservo.write(val);
		}
	} else {
	}
	free(msg);

#include <Ticker.h>
#include <ArduinoJson.h>
#include "FS.h"

extern "C" {
#include "osapi.h"
