View Single Post
  #7   Spotlight this post!  
Unread 01-02-2012, 16:33
MotorHead's Avatar
MotorHead MotorHead is offline
Programming Mentor
AKA: Jeff Beltramo
FRC #1922 (OZ-Ram)
Team Role: Coach
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Concord, NH
Posts: 68
MotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to beholdMotorHead is a splendid one to behold
Re: Difference between Shift Register and Feedback Node

Quote:
Originally Posted by Omar View Post
We use shift reg all the time in teleop.
The number one way I use shift reg is in single loop while loop just to store a value for later use.
Could you explain more about this? Post a code example perhaps. I was under the impression as well that you could not do this since the shift register involved a loop and you didn't want the loop tying up telop. In the past, I have written information to a Global Variable and let a loop inside of Periodic Task access the value.
__________________
Jeff Beltramo
Team #1922
Concord, New Hampshire

Reply With Quote