Thread: Code Check
View Single Post
  #3   Spotlight this post!  
Unread 14-02-2011, 15:31
dmitch's Avatar
dmitch dmitch is offline
Chief Head Electrical Guy
AKA: Daniel Mitchell
FRC #1997 (Stag Robotics)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Bishop Miege High School
Posts: 142
dmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the roughdmitch is a jewel in the rough
Re: Code Check

That does help quite a bit. So do I need to open and define in begin.vi? If so, how do I say "motor 1 is actually referenced as 'window 1'"?

Sorry, I know the PWMs are supposed to be different numbers for the motors, I justy have not yet done that. Thanks, though.

We are taking voltage readings from a pot to position the arm.

So the basic syntax will be right if i move the refnum, is the PID correct? As in, will it move window 1 and window 2 to position x when button y is pressed?
__________________
Reply With Quote