-
Notifications
You must be signed in to change notification settings - Fork 62
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
Won't receive COM messages #43
Comments
Hello, Have you tried the sample Arduino code provided with Ardity? It's at the bottom of this page. Regards. |
Hi, |
Hello,
Yes, I modified the code in the game so I could parse the messages and pass
the values to the actual game. There is a message listener that you need to
setup (if you do it manually) and in the message received función, you can
print out the messages that you are receiving.
If you're trying to catch the messages, I recommend you use Docklight
instead, it's more straightforward to use.
If you run into any issues, please let me know.
…On Wed, Jul 8, 2020, 8:24 AM Kai ***@***.***> wrote:
Hi,
I have the same problem. I'm open the DemoScene_AutoPoll in Unity while
your example Sketch is running on an Arduino Yùn. The Arduino serial
monitor gets the heartbeat messages. The console in Unity only prints
"Connection established" and nothing more. This ist Unity Version
2019.4.0f1 on Mac OS. The API compatibility Level is set to .Net Standard
2.0. Do you have any ideas, what this could be?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#43 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEBO4WZDQ5SHZA4QL4TV2ALR2RXO7ANCNFSM4N6N3LCQ>
.
|
I tried to get the example autopoll scene to run with the arduino test code since that already has a message listener. On Mac OS I get a connection message but none of the following messages. If I use the arduino serial monitor it works fine. Strangely enough if I use the same code on a windows machine, it works without problem. Will look into this further and update here when I find the time. Thanks for the help |
Just a quick update: I set Dtr and Rts to true manually for the port in the AttemptConnection Method of the AbstractSerialThread Class. A quick test shows that setting either of them works just as well. |
Hello, |
I have a custom Arduino script that will not display any messages at all in Unity using the plugin. It will display that the device is connected and, in docklight, I am receiving messages. I've wondered into the code and the inputQueue will appear as null (meaning no messages are being received).
the following is my Arduino Code:
The text was updated successfully, but these errors were encountered: