[an error occurred while processing this directive]
|
unsigned char USART_Recceve(unsigned char * res)//Recceve one byte from USART
{
if (!(UCSRA & (1 < < RXC)))
{
return KO;
}
*res = UDR;
return OK;
}
E-mail: info@telesys.ru