communication between arduino and PC
hi
i'm trying the serialcallresponse communication exemple included 1.0.5.r2 database.
so program sends 'a' character on com3 port. when launch java code listen com3 port (like this one: , it's said in eclipse:
what's problem?
i'm trying the serialcallresponse communication exemple included 1.0.5.r2 database.
so program sends 'a' character on com3 port. when launch java code listen com3 port (like this one: , it's said in eclipse:
quote
java.io.ioexception: underlying input stream returned 0 bytes
what's problem?
you need provide lot more information.
is arduino or pc sending 'a'?
assuming arduino, output visible in arduino serial monitor? if shows arduino working properly.
there many other threads here (some recent) using java communicate arduino - google on job.
i loathe ask post java code (because don't java), should so.
a common problem pc program not wait long enough arduino reset after serial port opened.
another common problem when pc program closes , reopens serial port between messages - causing ardino reset.
...r
is arduino or pc sending 'a'?
assuming arduino, output visible in arduino serial monitor? if shows arduino working properly.
there many other threads here (some recent) using java communicate arduino - google on job.
i loathe ask post java code (because don't java), should so.
a common problem pc program not wait long enough arduino reset after serial port opened.
another common problem when pc program closes , reopens serial port between messages - causing ardino reset.
...r
Arduino Forum > Using Arduino > Programming Questions > communication between arduino and PC
arduino
Comments
Post a Comment