PHP串口开发包 Php-serial

码农软件 · 软件分类 · 其他开发相关 · 2019-10-26 23:14:42

软件介绍

你想通过编写php语言去操纵如视频,音频或计算机的串并口设备?现在是可以变成现实了。使用php-serial这个开源项目 ,可以很容易地去实现。比如只需要调用deviceSet()方法,将串 口名传递进去就可以了,接着就可以使用简单的读和写的方法了,比如:

#div_code img { border: 0px none ; }
<?
deviceSet( ' COM2 ' );
$seria --> deviceOpen();
$serial -> sendMessage( ' Sending a message to the port! ' );
$serial -> deviceClose();
?>

 

本文地址:https://www.codercto.com/soft/d/17641.html

Head First HTML5 Programming

Head First HTML5 Programming

Eric Freeman、Elisabeth Robson / O'Reilly Media / 2011-10-18 / USD 49.99

What can HTML5 do for you? If you're a web developer looking to use this new version of HTML, you might be wondering how much has really changed. Head First HTML5 Programming introduces the key featur......一起来看看 《Head First HTML5 Programming》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

html转js在线工具
html转js在线工具

html转js在线工具