tided the pid input and added it to the serial out put