Re: serial port access

From: Date: Wed, 04 Apr 2001 07:24:42 +0000
Subject: Re: serial port access
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1284@lists.php.net to get a copy of this message
> [...] I've tried doing an fopen on /dev/ttyS0, but when i call fread on > the file pointer the app stops responding, no matter what length i tell > it to grab. As a last-ditch solution, you could write a small program in C or something that reads the data from the serial port and then prints it to stdout, then use popen() on that program -- might solve the problem. Otherwise, no other ideas... sorry. -- Michael.

« previous php.gtk (#1284) next »