It doesn't compile because its only showing the segment of the PID... At the end of the main loop I stated the loop continued the bracket is not even closed.
I'll post the fukk sketch tomorrow if its what's needed and you cant see any errors are in the setup, pid function