Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Serial communication not working in arduino

$
0
0

I do not think serialEvent is supported on the Galileo

 

Additionally from the description of SerialEvent() on http://arduino.cc/en/Tutorial/SerialEvent

it looks like serialEvent gets run in between each iteration of loop(). So its not really an interrupt.

So if you have a blocking while() statment inside loop() it will just be stuck there forever.

 

Have you tried removing the while() statements, and replace the Serial with Serial1 as I mentioned above?

Also you will need to add Serial1.begin() inside setup()

Also try manually calling serialEvent() inside your loop();


Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>