Mike Spadaru / physcom
Embed: (wiki syntax)

« Back to documentation index

OV7670 Class Reference

OV7670 Class Reference

Class used to controll the OV7670 camera. More...

#include <ov7670.h>


Detailed Description

Class used to controll the OV7670 camera.

Using the constructor:

 OV7670 camera (
     p28,p27,            // SDA,SCL(I2C / SCCB)
     p23,NC,p25,         // VSYNC,HREF,WEN(FIFO)  
     Port0,0x07878000,   // PortIn data        p18(P0.26),p17(P0.25),p16(P0.24),p15(P0.23),p11(P0.18),p12(P0.17),p14(P0.16),p13(P0.15)
     p26,p29,p30         // RRST,OE,RCLK
 ); 

Before snapping a piture, the camera needs to be initialized. During the initialization, the format and resolution are set. Possible formats: YUV422, RGB565. Possible resolutions: VGA (640 x 480), QVGA (320 x 240), QQVGA (160 x 120). See Init(char c, int n).

Definition at line 33 of file ov7670.h.