adding a tare function to a functiioning arduino scale

it compiles and uploads to my arduino but the tare function doesnt seem to be working properly i will try and
figure it out from here but thank you for your help.