|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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! */ } } } ![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |