View Single Post
  #1   Spotlight this post!  
Unread 08-03-2006, 20:30
P1h3r1e3d13's Avatar
P1h3r1e3d13 P1h3r1e3d13 is offline
Unregistered User
FRC #0295
Team Role: Alumni
 
Join Date: Jan 2006
Rookie Year: 2006
Location: San Diego/Granite Bay
Posts: 46
P1h3r1e3d13 is an unknown quantity at this point
Question Pointers in EasyC

Can EasyC deal with pointers? I know the camera capture command uses them (but I don't know why), but I haven't found a way to implement them myself.

I do remember getting an error message when I tried that seemed to indicate it was possible. I had tried to do something like:
Code:
PWM_1_value = &PWM01
(though I probably have the syntax and names wrong here) and when it gave me a dialog box saying something like "You tried to use a pointer without initializing it." When I try to initialize *PWM01 as a variable, it won't let me, of course ("invalid variable name," or some such).



P.S.: "PWM01" is a guess at what name I tried to use. I don't remember what it's actually called, but I think I somehow knew when I tried that.