Re: How to write and read serial or parallel port
| From: | Ian | Date: | Thu, 26 Jul 2012 11:01:01 +0000 |
| Subject: | Re: How to write and read serial or parallel port | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318564@lists.php.net to get a copy of this message | ||
On 26/07/2012 11:12, viper wrote:
> hi all!
>
> is it possible to write and read data on a COM or LPT port?
> is there any function or class in PHP?
>
> anyone has already done something similar?
>
> thanks,
> viper
>
Hi,
There is a class here:
php-serial
http://code.google.com/p/php-serial/source/browse/trunk/
I will be trying this myself tonight as I need to hook up to an arduino
and retrieve some sensor readings.
Regards
Ian
--