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

Learning Web Design

Learning Web Design

Jennifer Niederst Robbins / O'Reilly Media / 2007-6-15 / USD 44.99

Since the last edition of this book appeared three years ago, there has been a major climate change with regard to web standards. Designers are no longer using (X)HTML as a design tool, but as a means......一起来看看 《Learning Web Design》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具