- 授权协议: GPLv2
- 开发语言: PHP
- 操作系统: Linux
- 软件首页: http://code.google.com/p/php-serial/
- 软件文档: http://code.google.com/p/php-serial/w/list
软件介绍
你想通过编写php语言去操纵如视频,音频或计算机的串并口设备?现在是可以变成现实了。使用php-serial这个开源项目 ,可以很容易地去实现。比如只需要调用deviceSet()方法,将串 口名传递进去就可以了,接着就可以使用简单的读和写的方法了,比如:
#div_code img { border: 0px none ; }
<?
deviceSet( ' COM2 ' );
$seria --> deviceOpen();
$serial -> sendMessage( ' Sending a message to the port! ' );
$serial -> deviceClose();
?>
