<< Previous | Next >> | |
|
int serXputs( char * s ); /* where X is A-F */
Description
- Calls
serXwrite(s, strlen(s))
; does not write null terminator. This function is non- reentrant.
- The functions
serEputs()
andserFputs()
may be used with the Rabbit 3000 and Rabbit 4000.Parameters
s
- Null terminated character string to write
Return value
- The number of characters actually sent from serial port X.
Library
- RS232.LIB
Example
// writes a null-terminated string of characters, repeatedly
main() {
const static char s[] = "Hello Rabbit";
serAopen(19200);
while (1) {
serAputs(s);
}
serAclose();
}
Dynamic C Functions | << Previous | Next >> | rabbit.com |