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

Note regarding timing #31

Open
atchoo78 opened this issue Dec 5, 2019 · 0 comments
Open

Note regarding timing #31

atchoo78 opened this issue Dec 5, 2019 · 0 comments

Comments

@atchoo78
Copy link

atchoo78 commented Dec 5, 2019

Hello,

First of all, thank you for this!
Running perfectly on PHP 7.3.10 (XAMPP).

At first I was having trouble sending serial messages to Arduino, until I realized Arduinos reset on every connection, so I simply inserted

sleep(2);

directly after opening the serial port and before

$serial->sendMessage("Whatever");

Same thing applies to some serial Bluetooth devices.

Best regards,
Andreas

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

No branches or pull requests

1 participant