Arduino - Serial Communication using Java + RXTX

preview_player
Показать описание
After spending over 4 days, I've successfully managed to get this one right.
A simple Java application that enables the user to switch on / off an LED. (This might seem simple to many but trust me, sending and receiving data from arduino to pc and vice versa opens doors for endless creativity !!!)
Рекомендации по теме
Комментарии
Автор

Yeah sure...First of all download the RXTX library. Next open netbeans->create project. Now right click on the project and select properties. On the left hand side pane, select LIBRARIES. Now you should see a button ADD JAR/FOLDER. From the dialog box, navigate to the aurdino folder->lib and add all the .jar files present there. After that head to SYSTEM32 folder under WINDOWS and add the rxtxserial.dll file. Voila you're done. Visit my blog for more details.

Atulmaharaj_