View Single Post
  #3   Spotlight this post!  
Unread 09-01-2004, 08:23
squide's Avatar
squide squide is offline
Architeuthis Clarkei
#1056 (Kekoa O Ha'aheo)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: Hilo, Hawaii
Posts: 44
squide is on a distinguished road
Re: Some EDURobotics Problems

Quote:
Originally Posted by Mark McLeod
Are you sure you defined the input pins as analog or digital correctly? The default EDU code for instance defines inputs 1 & 2 as analog inputs and the rest as either digital inputs or outputs. Check in user_routines.c
Thanks for the reply!

We're using an optical sensor to test for input without modifying the Default Code besides the printf statement. We put the sensor in Pin 6 (rc_dig_in06), so with the default configurations it should be okay. It also behaved the same in 8 & 10.