Go to Post You really can't have a bad year. The only way you can is to come out of it and not learn anything. - Dan Petrovic [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 03-02-2005, 13:44
magical hands magical hands is offline
Jigar Patel
AKA: Jigar Patel
FRC #2185 (Etobicoke CI)
Team Role: Mentor
 
Join Date: Dec 2003
Rookie Year: 2004
Location: TORONTO
Posts: 93
magical hands is on a distinguished road
Exclamation CAM ERROR!

When i run the programm in (In terminal window it shows "Error setting color tracking parameters Expected 9, and got 0). Anyone knows why this is happening and this the code that i am running.

/* Add your own autonomous code here. */
if(camera_find_color(RED) == 0)
{
if(pwm01 < 255)
{
pwm01 = counter++;
}

else if (pwm01 > 250)
{
counter = 0;
pwm01 =counter;
}
}
else if(camera_find_color(RED) == 4)
{
pwm01 = 27;
}
Generate_Pwms(pwm13,pwm14,pwm15,pwm16);

Putdata(&txdata); /* DO NOT DELETE, or you will get no PWM outputs! */
}
}
}

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
MPLink Error cloudago Programming 2 01-02-2005 23:00
MPLAB build error cabbagekid2 Programming 7 12-01-2005 13:36
PHP and Wiki Error Venkatesh Website Design/Showcase 2 24-07-2004 15:51
Error in Visual C++ Ashley Weed Programming 15 06-05-2004 14:53
EMERGENCY! EPROM FULL error?!? CHSguard72 Programming 2 05-03-2003 20:51


All times are GMT -5. The time now is 19:17.

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