Thread: Master Code
View Single Post
  #3   Spotlight this post!  
Unread 05-02-2007, 09:02
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: Master Code

Correct me if I'm wrong, but the gyroscope gives you an *analog* value; interrupts are irrelevant when working with analog sources. The encoder needs 2 digital inputs.

Grab a voltmeter and verify that you are getting the 5v out of the 5v pins. That's my guess as to what is going on. Check for shavings and make sure all your RC's lights are flashing green when your 'bot is enabled.

Post your code. I'd be happy to look at it. Just zip it up and attach it to your post.

JBot
__________________
Aren't signatures a bit outdated?