2007 CMUcam2 Code

I’ve updated the camera code to version 2.1 with these minor changes:

Added IFI’s new readme.txt file (replacing 2006 version).
Added IFI’s new library files (replacing older versions).
Added IFI’s new linker script files (replacing older versions).
Added IFI’s new FRC_MASTER_V13.BIN file.
Added IFI’s new LibReadMe.txt file.
Added IFI’s new Using_a_2005_FRC.txt file (replacing older Using_Last_Years_FRC.txt).
Added new hardware-based PWM code (see pwm_readme.txt).
Added CMUCam2_commands.pdf file
Added CMUCam2_data_packets.pdf file
Updated user_routines.c/Default_Routine() with 2007 version.
Added Virtual_Window() function to camera.c/.h.

The code can be found here: http://kevin.org/frc.

-Kevin

Thanks for the update Kevin; Your work is always appreciated.

The Virtual Window feature looks like it can be really useful this year.

Thanks a bunch, Kevin! Your work is always greatly appreciated!!

I just realized that I forgot to document the image orientation. If you’ve mounted the camera in the orientation I suggested, with the power switch down, the image is upside down with pixel 1,1 is located in the lower right corner. If you mounted the camera per the manual, with the power switch up, the image is right side up with pixel 1,1 in the upper left corner. If you mounted the camera any other way, you’re on your own <grin>. I’ll add this information to the camera FAQ.

-Kevin

Thanks for the update it will defenetly help with the camera =)

The code wont compile in MPlab, it says that it can’t locate stdio.h?

Will this code work for the 2008-2009 competition?:confused: