note 16296 deleted from function.fopen by cmb
| From: | cmb@php.net | Date: | Sun, 09 Feb 2020 08:08:15 +0000 |
| Subject: | note 16296 deleted from function.fopen by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214033@lists.php.net to get a copy of this message | ||
Note Submitter: php at themastermind1 dot com
----
I have found that I can do fopen("COM1:", "r+"); to open the comport in windows.
You have to make sure the comport isn't already open or you will get a permission denied.
I am still playing around with this but you have to somehow flush what you send to the comport if
you are trying to communicate realtime with a device.