![]() |
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! */ } } } :eek: :yikes: :ahh: ;) |
| All times are GMT -5. The time now is 23:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi