且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何将数据从网页发送到串行端口?

更新时间:2023-11-09 12:30:22

有一个PHP库支持写入串口.

There is a library for PHP that supports writing to serial port.

请参阅此处.

更多:

http://php.net/manual/en/function.fopen.php#20935

有关更多讨论,请参阅此问题:如何在 PHP 中读取 RS232 串口喜欢这个 QBasic 程序

See this question for more discussion: How to Read RS232 Serial Port in PHP like this QBasic Program

更新:

要在 Windows 上执行此操作,请参阅本教程:http://blog.950buy.com/article/php-use-rs232-serial-communication-to-send-file/

To do this on windows see this tutorial: http://blog.950buy.com/article/php-use-rs232-serial-communication-to-send-file/

还有这个问题:Serial comm with PHP on Windows