PeterH:
SuperMiguel:
Is there a better implementation of this????Is this just a general 'please make my code better' or is there some specific problem you want help with?
Ya is there a lib to help me find kp?? And is my pid implementation correct?? Should I try using the pid lib?? Any benefits??