Location:
Search - ov7670 t
Search list
Description: Sensor驱动代码 OV7680 的 是我们做的尝试 双摄象头 不过容易出现一些小问题 要做稳定需要好好调试-one sensor driver based on MTK 6225 platform :#define OV7670
#ifndef HW_SCCB
void SCCB_send_byte(kal_uint8 send_byte)
{
volatile signed char i
volatile kal_uint32 j
for (i=7 i>=0 i--)
{ /* data bit 7~0*/
if (send_byte & (1<<i))
{
SET_SCCB_DATA_HIGH
}
else
{
SET_SCCB_DATA_LOW
}
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_HIGH
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_LOW
for(j=0 j<SENSOR_I2C_DELAY j++)
}
/* don t care bit, 9th bit*/
SET_SCCB_DATA_LOW
SET_SCCB_DATA_INPUT
SET_SCCB_CLK_HIGH
for(j=0 j<SENSOR_I2C_DELAY j++)
SET_SCCB_CLK_LOW
SET_SCCB_DATA_OUTPUT
} /* SCCB_send_byte()*/
.....
Platform: |
Size: 16384 |
Author: bill |
Hits:
Description: TFT avr 视频 显示 代码全部都有-TFT avr video display code all of them
Platform: |
Size: 1672192 |
Author: liu |
Hits:
Description: 最近在学习摄像头
想做摄像头采集图像,然后颜色识别,
不过楼主太水
目前只做到可以显示图像
接线:如正点原子ppt图
不过SIOC相当于SCL
SIOD相当于SDA
即,SIOC接PD6
SIOD接PD7
刚打开程序可能kill5会弹出窗口,不用担心关点就可以了
记得调相机焦距
只不过30万像素太低了。。。。(Learning camera recently
Want to be a camera to collect images, and then color recognition.
But the landlord is too water.
At present, we can only display images.
Wiring: ppt diagram of a point atom
But SIOC is equivalent to SCL.
SIOD is equivalent to SDA.
That is, SIOC connects to PD6.
SIOD and PD7
Just open the program, maybe kill5 will pop up the window, don't worry about closing it.
Remember the focal length of the camera.
It's only 300 thousand pixels too low.)
Platform: |
Size: 10254336 |
Author: XABXAB |
Hits: