Go to Post SELECT YOUR STRATEGY BEFORE YOUR ROBOT DESIGN. - Kims Robot [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 08-02-2008, 00:17
darkdwarven's Avatar
darkdwarven darkdwarven is offline
Registered User
AKA: Phantom
FRC #2348
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Hawaii
Posts: 8
darkdwarven is an unknown quantity at this point
Code Error?

When we turn on our switch connected to the copetition port, the program state light on the robot controller turns red and the code error light on the O/I turns on. We may have had a pin short with pin 5 and an adjacent pin, but if there are any other suggestions on how to remedy the problem it would be gladly appreciated.

Thanks for all the help!
Team 2348, Moanalua High School
__________________
I have nothing important to say here, thus I've wasted a few seconds of your life. Isn't that depressing?
  #2   Spotlight this post!  
Unread 08-02-2008, 00:42
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,112
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: Code Error?

What is the "switch connected to the copetition port" supposed to do? There are very specific pins that you're permitted to use without voiding your warranty.

If you're talking about putting the controller in autonomous mode, then it's likely that your autonomous routine is doing something to cause the code error. The typical reasons for that to happen are:
  • an infinite loop in the program that keeps the software from getting to the put_data function.
  • a faulty Interrupt Service Routine that fails to clear the source of the interrupt
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
Error in code light on, trouble finding error Bryan Herbst Programming 16 12-10-2007 21:59
Code error on RC after downloading "bells and whistles" version of Kevins camera code DanDon Programming 6 10-01-2006 18:07
Intermittent Code Error Plloyd Programming 9 09-04-2005 21:37
Error w/ FRC code JamesBrown Programming 2 08-01-2005 16:17
C++ Code Error? Adam Shapiro Programming 9 20-01-2003 13:24


All times are GMT -5. The time now is 09:23.

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