for(j=0;j<76800;j++)
{
GPIOB->CRL=0X88888888;
OV7670_RCK=0;
color=OV7670_DATA; //读数据
OV7670_RCK=1;
color<<=8;
OV7670_RCK=0;
color|=OV7670_DATA; //读数据
OV7670_RCK=1;
GPIOB->CRL=0X33333333;
USART_SendData(USART1, color);
LCD_WR_DATA(color);
}
是这么传送的,用了USART_SendData(USART1, color);这样行吗?串口这我有点迷糊?多谢了?
for(j=0;j<76800;j++)
{
GPIOB->CRL=0X88888888;
OV7670_RCK=0;
color=OV7670_DATA; //读数据
OV7670_RCK=1;
color<<=8;
OV7670_RCK=0;
color|=OV7670_DATA; //读数据
OV7670_RCK=1;
GPIOB->CRL=0X33333333;
USART_SendData(USART1, color);
LCD_WR_DATA(color);
}
是这么传送的,用了USART_SendData(USART1, color);这样行吗?串口这我有点迷糊?多谢了?
举报