This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

I can not read data from a web page

Hi , I am sending data to a Web page. Example below

*********************************************************************************************************************************************************************************************
<table bgcolor="#ff0000" border="5" cellpadding="0" cellspacing="0" width="500">
<tr>
<td>
<table width="AD7%" border="0" cellpadding="0" cellspacing="0">
<tr><td bgcolor="#00ff00"> </td></tr>
</table>
</td>
</tr>
</table>
**********************************************************************************************************************************************************************************************
void InsertDynamicValues(void)
{ unsigned char *Key; char NewKey[5]; unsigned int i; if (TCPTxDataCount < 4) return; // there can't be any special string Key = TCP_TX_BUF; for (i = 0; i < (TCPTxDataCount - 3); i++) { if (*Key == 'A') if (*(Key + 1) == 'D') if (*(Key + 3) == '%') switch (*(Key + 2)) { case '7' : // "AD7%"? { sprintf(NewKey, "%3u", GetAD7Val()); // insert AD converter value memcpy(Key, NewKey, 3); // channel 7 (P6.7) break; } case 'A' : // "ADA%"? { sprintf(NewKey, "%3u", GetTempVal()); // insert AD converter value memcpy(Key, NewKey, 3); // channel 10 (temp.-diode) break; } } Key++; }}

***********************************************************************************************
How can I get data from the web as an example, I want to burn, or a button is pressed, LED textboxtan want to read the data. How can I do.

0