 			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
+		case SET_ANALOG_TRIGGER:{
 			// TODO - if POLLING ALREADY DON'T RE-ADD - MAKE RE-ENTRANT
 			analogReadPin[analogReadPollingPinCount] = ioCmd[1]; // put on polling read list
 			++analogReadPollingPinCount;

			break;
		}

		case SET_DIGITAL_TRIGGER_ONLY:{
			digitalTriggerOnly = ioCmd[1];
			break;
                }

		case SET_SERIAL_RATE:
		{

				} else if (sensor.state == ECHO_STATE_GOOD_RANGE || sensor.state == ECHO_STATE_TIMEOUT) {
					Serial.write(MAGIC_NUMBER);
					Serial.write(6); // size 1 FN + 4 bytes of unsigned long
					Serial.write(SENSOR_DATA);
					Serial.write(i);
		            // write the long value out
					Serial.write((byte)(sensor.lastValue >> 24));
