On Tue, Dec 25, 2012 at 8:36 PM, Ken Arck wrote:
> I'm pretty much a php newbie but have been programming for years in other
> languages
>
> Anyway...
>
> Using /dev/ttyS0. I need to set the serial port to 9600, send one command
> to an embedded processor board, then change the baud rate to 57600
At 11:36 AM 12/25/2012, you wrote:
The ^ is sent by the remove device with \r\n so I assumed telling
fgets to look for one character should be enough but apparently it isn't.
<---Sorry but the above is wrong.
The ^ is sent by the remove device WITHOUT \r\n
Ken
--
PHP General Mailing Li
2 matches
Mail list logo