View Single Post
  #1   Spotlight this post!  
Unread 27-11-2005, 16:28
astro1652's Avatar
astro1652 astro1652 is offline
Registered User
FRC #1652 (Team Overdrive)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Kenosha
Posts: 2
astro1652 is an unknown quantity at this point
Accessing groups of variables

Hello All,
Is there anyway to access an entire group of variables in one statement? I was thinking maybe it would be possible with arrays, but how can you set all of the elements at once? Using a structure maybe?
The reason I'm asking is that I want to access all of the OI's LEDs at one time instead of wasting valuable time on all 8 seperately. In assembly, accessing a full port is a snap, and I would think it would be easy enough in C.

Thanks!
~Zack
Team 1652