78
{
int j = 0;
while(j < 4000)
{
if((SPI_Uart_ReadByte(LSR) & 0x01))
{
incoming_data = SPI_Uart_ReadByte(RHR);
}
else
{
j++;
}
}
}
void Parse_Request(void) // Parse request
{
int j = 0, k = 0;
String temp = "";
inc_data_all = "";
post = 0;
get = 0;
while(j < 4000)
{
if((SPI_Uart_ReadByte(LSR) & 0x01))
{
incoming_data = SPI_Uart_ReadByte(RHR);
Serial.print(incoming_data,BYTE);
if ((inc_data_all.indexOf("POST") != -1)&&(k==0))
{
post = 1;
get = 0;
k = 1;
}
Comentários a estes Manuais