[PHP] Nested loopa

2012-12-25 Thread Ken Arck
So I cannot do nested do loops in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Serial Comm problem

2012-12-25 Thread Ken Arck
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

[PHP] Serial Comm problem

2012-12-25 Thread Ken Arck
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 and wait for a response. My code is working up to (and in