|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: AUTO TRACKING!!!!!!:(
Quote:
Code:
int counter = 0; //counter variable
if(camera_find_color(GREEN) == 0)
{
camera_set_servos(counter, 127); //move pan servo 1 PWM value 40 times a second
}
else camera_auto_servo(1); //stop pan loop
//Increment counter.
if(counter < 255)
{
counter++;
}
else counter = 0;
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Camera Auto Tracking? | Ryan Cumings | Programming | 9 | 22-01-2005 02:20 |
| IR Tracking & Navigation | Tallman | General Forum | 3 | 20-01-2004 17:26 |
| auto archiving of posts | Joe Ross | CD Forum Support | 4 | 01-01-2004 02:04 |
| My auto is better than yours.. lol | randomperson | Programming | 25 | 07-04-2003 12:10 |
| picking auto program | Mike375 | Programming | 19 | 03-03-2003 15:47 |