 			pingdar.step = 1;
 			break;
 		}
-*/
 
 		case SENSOR_ATTACH:{
 			int sensorIndex = ioCmd[1];


				Serial.write(MAGIC_NUMBER);
				Serial.write(4); //size
				Serial.write(PUBLISH_PIN);
				Serial.write(analogReadPin[i]);
				Serial.write(readValue >> 8);   // MSB
				Serial.write(readValue & 0xFF);	// LSB

			{
				Serial.write(MAGIC_NUMBER);
				Serial.write(3); // size
				Serial.write(DIGITAL_VALUE);
				Serial.write(digitalReadPin[i]);// Pin#
				Serial.write(readValue); 	// LSB

			    lastDebounceTime[digitalReadPin[i]] = millis();
