PHP Classes

How to send a CR or LF?

Recommend this page to a friend!

      PHP Serial  >  All threads  >  How to send a CR or LF?  >  (Un) Subscribe thread alerts  
Subject:How to send a CR or LF?
Summary:I would like to send a CR or LF
Messages:1
Author:Juergen Tolksdorf
Date:2012-03-13 20:56:59
 

  1. How to send a CR or LF?   Reply   Report abuse  
Picture of Juergen Tolksdorf Juergen Tolksdorf - 2012-03-13 20:57:00
Hi,

sending messages does not work with a one liner. I used the example.php saying

$serial->sendMessage('text');

After text I would like to send a CR in order to SEND the message to the tty port.

Any suggestions?