View Single Post
  #3   Spotlight this post!  
Unread 30-01-2008, 16:03
Team2002 Team2002 is offline
Registered User
FRC #2002
 
Join Date: Feb 2007
Location: Tualatin OR
Posts: 6
Team2002 is an unknown quantity at this point
Re: ir sensor Board ??????????????????????

I was trying the following for our IR board and nothing seems to happen
if (rc_dig_in15 == 1)
{
pwm_13 = 256;
}

This was just to test if pressing a button on the remote did anything (the remote was already programmed etc,.)

is there anything wrong that we are doing?

This snippet was placed in the user_routines.c
is that the correct place or should it be under user_routines_fast.c?

Thanks for any help