 		    payload[5] == ' ' &&
 		    payload[6] == 'o')
 			if (payload[7] == 'n')
-				digitalWrite(14, LOW);
+				analogWrite(14, 0);
 			else
-				digitalWrite(14, HIGH);
+				analogWrite(14, 1023);
 	}
 	char *token = NULL;
 	char *msg = (char *)malloc(64);

	log_dbg("called\n\r");
	myservo.attach(13);
	pinMode(14, OUTPUT);
	digitalWrite(14, HIGH);
	ticker_user.attach_ms(20, ticker_user_task);
}
#endif

		if (strcmp(token, "io") == 0) {
			log_dbg("hit io, payload: %c\n\r", payload[0]);
			if (payload[0] == '0')
				analogWrite(14, 0);
			else
				analogWrite(14, 1023);
		}
	}
	if (strcmp(topic, nd->cfg.topic_from) == 0) {
