 
 	Serial.write(MAGIC_NUMBER);
 	Serial.write(5); // size = 1 FN + 1 INDEX + 1 eventType + 1 curPos
-	Serial.write(PUBLISH_SERVO_EVENT);
+	Serial.write(SERVO_EVENT);
 	Serial.write(s.index); // send my index
 	// write the long value out
 	Serial.write(eventType);

			break;
		}

		case SET_TRIGGER:{
                        // FIXME !!! - you need 1. a complete pin list !!!   analog & digital should be defined by attribute not 
                        // data structure !!!  if (pin.type == ??? if needed
			// TODO - if POLLING ALREADY DON'T RE-ADD - MAKE RE-ENTRANT
			analogReadPin[analogReadPollingPinCount] = ioCmd[1]; // put on polling read list
			++analogReadPollingPinCount;

 		// send it
		Serial.write(MAGIC_NUMBER);
		Serial.write(5); // size 1 FN + 4 bytes of unsigned long
		Serial.write(LOAD_TIMING_EVENT);
        // write the long value out
		Serial.write((byte)(loadTime >> 24));
		Serial.write((byte)(loadTime >> 16));
