View Single Post
  #3   Spotlight this post!  
Unread 08-11-2007, 11:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Deventeh Digatal - CMPS03 - Robot Compass Module

Quote:
Originally Posted by kE7JLM View Post
At first we used interrupt code to read it, but the RC loop was too slow and did not give a accurate reading.
I don't understand what you mean. Using interrupts should make reading the sensor independent of the "RC loop".

Quote:
...since the RC is not compatible with I2C...
The RC will talk to I2C devices. You just need to write the program to control the I/O pins with appropriate timing.