View Single Post
  #2   Spotlight this post!  
Unread 09-01-2004, 07:48
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,793
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Some EDURobotics Problems

Quote:
Originally Posted by squide
Hey everyone! I'm having a few problems with the EDURobot, and I was hoping I could get a little help here.
[list][*]Input Values - Our analog inputs read in values from about 10-998, and our digital inputs read 0 or 256. I'm not sure if this is that much of a problem. We've been able to work around them when programming. Apparently the analog inputs should be 0-255 and digital inputs 0 or 1. I'm pretty sure I've put the right devices in the right pins .
.
The analog inputs are 10 bits with values from 0-1023.
The digital inputs are 0 & 1

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
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle