        Serial.println(packetBuffer); 
        udp.beginPacket(udp.remoteIP(), udp.remotePort());
        udp.write(packetBuffer);
-       udp.endPacket();   
+       udp.endPacket();      
+       requestID = requestID + 1;
        
    }
-    
     
   }
   

    //Serial.print( "Button state = " );
    //Serial.println( buttonState );
    if ( buttonState && !sentPacket ) {
       Serial.println("Sending pressure = on");               
       sentPacket = 1;
       requestID = requestID + 1;
       
       char buffer[12];
       strcpy(packetBuffer,(char*)pgm_read_word(&loopPacket1) );

     sentPacket = 0; 
  }  
  lastButtonState = reading;
  
}

