|
Quick question about preset heights
Hello guys,
I was working on some code today to support some preset heights and I was wondering how I would be able to do it. I'm just learning PID and how I can use it. We have a potentiometer installed. I was wondering how I could select which case to run, because it wouldn't necessarily be a true/false type of statement (or would it). It would be if button1 = pressed = go here. Maybe i'm just fried from the series of tests I had today, but I really can't figure it out.
Last edited by Dustin Shadbolt : 11-03-2011 at 22:23.
|