I
I
IliaBrz2017-07-08 01:31:46
PHP
IliaBrz, 2017-07-08 01:31:46

How to write to COM port in PHP?

Please help me write a PHP program to send information to the COM port. The simpler the code, the better.
Thank you in advance, and also wish you a nostalgic atmosphere and a warm summer,
Ilya

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
SlavikF, 2017-07-08
@IliaBrz

Here's an example of how to do this with fopen:
php.net/manual/en/function.fopen.php#112243
Here's a library for this:
https://github.com/Xowap/PHP-Serial

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question