PHP-Serial
PHP-Serial copied to clipboard
fixing read and write for Windows
reads used to have to wait for 4k or 8k buffer to fill, this fixes that by calling stream_set_chunk_size() on Windows.
PHP on Windows doesn't support COM10 or higher, but for COM1-COM9 this works for me on Windows 7 with an Arduino (Serial over USB using FTDI driver for Windows).
Very interesting :)
I'm looking into this before merging it, just give me a few days