Go to Post it made me proud to be a part of FIRST. - Libby K [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2005, 21:03
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Blinking Program light on RC

I saw a thread around here on a similar topic, but the information there was with regard to gyro.h, and wasn't applicable to my problem. I have added Kevin Watson's encoder library to my workspace, copied the important parts of user_routines_fast.c including the #include of encoder.h, and added a call to Initialize_Encoders() in the initialization function. The code compiles fine, but when I send it to the RC, the Program light blinks rapidly between red and green, and the code doesn't respond to anything. When I remove all of the encoder code, everything works fine again. I imagine that finding a solution without being able to see all my code would be hard, so how can I troubleshoot this problem? I'm at a complete loss. Thanks in advance.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #2   Spotlight this post!  
Unread 16-02-2005, 21:27
whakojacko's Avatar
whakojacko whakojacko is offline
Registered User
FRC #1072 (hrt)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 2003
Location: San Jose, California
Posts: 137
whakojacko is on a distinguished road
Send a message via AIM to whakojacko Send a message via MSN to whakojacko
Re: Blinking Program light on RC

hmmm i had the same error but its gone.. Make sure you dont remove the parts of the interrupts that are already there, i think i remember commenting off parts and having the same issue. I believe i initialling stole the interrupts of the nav code and pasted it in to our code (modifited camera code) I think you have to keep in the else CheckUartInts();, but i fixed it 2 hours ago. Anyways, hope that helped See you at sacramento
__________________
Harker Robotics:1072
http://www.harker-robotics.org

Last edited by whakojacko : 16-02-2005 at 21:34.
  #3   Spotlight this post!  
Unread 16-02-2005, 22:45
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: Blinking Program light on RC

Quote:
Originally Posted by whakojacko
hmmm i had the same error but its gone.. Make sure you dont remove the parts of the interrupts that are already there, i think i remember commenting off parts and having the same issue. I believe i initialling stole the interrupts of the nav code and pasted it in to our code (modifited camera code) I think you have to keep in the else CheckUartInts();, but i fixed it 2 hours ago. Anyways, hope that helped See you at sacramento
That fixed it! Hm... I can't imagine why not calling that function would cause a code error, but it works fine now. Thank you SO much.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How many users does it take to change a Light Bulb? Matt Attallah Chit-Chat 4 04-09-2004 20:59
program light blinks red and green JBabbie Programming 3 02-03-2004 09:19
'Program State' LED stays blinking yellow after download clynch Control System 5 18-02-2004 19:34
Please...no more steenkin' light! Andrew General Forum 37 17-04-2003 23:06
Program Code for Light Sensors...etc Jimbo Programming 1 08-01-2002 00:36


All times are GMT -5. The time now is 08:22.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi