I can't read from serial

Recommend this page to a friend!

      PHP Serial  >  All threads  >  I can't read from serial  >  (Un) Subscribe thread alerts  
Subject:I can't read from serial
Summary:I can't read from serial
Messages:1
Author:Javier
Date:2009-10-05 16:01:21
 

  1. I can't read from serial   Reply   Report abuse  
Picture of Javier Javier - 2009-10-05 16:01:21
Hi, I tried to send something via serial to a PCB and it works fine. But, if I try to read from php using $serial->readPort() it doesn't work.

The port is /dev/ttyUSB0 and i receive this warning:

Warning: Device must be opened to read it in /home/chs/Web/comunicador/php_serial.class.php on line 474

I had to change the permissions to 777 to the port to send.

Thanks you,

regards

 
For more information send a message to info at phpclasses dot org.