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