Our team’s knowledge of C is very limited, so we are using Easy C to get our code running. We got the camera wired to the RC and added the camera values to the code, but we are not sure how to get the camera to track. So far this is what we have done.
Attached the camera power to an unused PWM
Charged and connected the backup battery to the RC
Connected the TTL-232 chip to the RC and connected the cable to the camera
I tried EasyC with the camera, and I failed miserably. I found a bug in EasyC, and I could never get the camera to start tracking. “Hard” C was easier to use with the camera, especially with Kevin’s code. EasyC is good for the general purpose stuff, but when you get into the more advanced stuff it just doesn’t cut it.
Get in contact with team 40 (pm one of their members on here) THey are supported by intelletek and one of their programming mentors was involved in developing easy c for FRC purposes and for camera use more specifically.
Thanks! We actually found a little gem hidden in the tutorials for Easy C. Tutorial #7 walks you through setting up the camera to follow the light. With a little creativety we’ve managed to get our camera online…