Problems using PID to control DC Motor?

Post ALL the code, please.