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