File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serial port communication

 
Pradeep Kumar T
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have an int array in my program, which i need to send through serial port.. right now, i am sending the data element by element, while listening for the DATA_AVAILABLE event. I send the first element, wait for the DATA_AVAILABLE event and then send the next element. Is this the way it is supposed to be done? Is there a better(faster) way to do this..?

Thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic