Sample Scissor Lift Sync code

I’m programming a deadband code for my lift right now, which isnt working very well. I’ve read much on PID and attempted to implement it to my scissor lift, but to no prevail. My lift is a 1:21 and I’m using pots. I was wondering if anyone had some sample pid code in easyC for a lift that has been proven to work that I could see. Time is of essence since states for me in on Sunday, and I need to get the lift sync working.

Thanks, AlphaPixel