View Single Post
  #1   Spotlight this post!  
Unread 11-03-2011, 16:08
Dustin Shadbolt's Avatar
Dustin Shadbolt Dustin Shadbolt is offline
In a server room somewhere...
AKA: Dustin Shadbolt
FRC #1555 (Team PULSE)
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Monticello,Indiana
Posts: 320
Dustin Shadbolt is on a distinguished road
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.
Reply With Quote