大学生
最后登录1970-1-1
在线时间 小时
注册时间2015-1-23
|
if(Sensor_IDCode == OV7725_ID)//o˶ÔOV7670μÄDòáDoÅóëĬèÏÖμêÇ·ñò»Ñù
{
for( i = 0 ; i < OV7725_REG_NUM ; i++ )
{
if( 0 == SCCB_WriteByte(Sensor_Config.Address, Sensor_Config.Value) )
{
//DEBUG("write reg faild", Sensor_Config.Address);
return ERROR;
}
}
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reg_Info Sensor_Config[] =//小弟不知道这是数组的什么用法(原谅我是个小白~~~)
{
{CLKRC, 0x00},
{COM7, 0x46},//问题:请问:Sensor_Config.Address是指COM7吗?Sensor_Config.Value是指0x46吗?这是如何做到一一对应的?这是什么用法???
{HSTART, 0x3f},
{HSIZE, 0x50},
{VSTRT, 0x03},
{VSIZE, 0x78},
{HREF, 0x00},
{HOutSize, 0x50},
{VOutSize, 0x78},
{EXHCH, 0x00},
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|