Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing read and write for Windows #3

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mattficken
Copy link

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).

reads used to have to wait for 4k or 8k buffer to fill, this fixes that
@Xowap
Copy link
Owner

Xowap commented Mar 24, 2014

Very interesting :)

I'm looking into this before merging it, just give me a few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants