Advantech ADAM-5511 Manual page 296

Table of Contents

Advertisement

Send String
Sends a string by calling port_tx() repeatedly
void port_tx_string(int portno, char *s)
portno
*s
None
main()
{
char string
port_installed(1)
:
:
//check whether FIFO empty or not, if empty, send a string
if(port_tx_empty(1);
{
string="abcde"
port_tx_string(1, string)
{
}
The specified port number
the string you would like to send

Advertisement

Table of Contents
loading

Table of Contents