Arduino Processing: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
(Redirected page to RXTX)
 
Line 1: Line 1:
=What is RXTX=
#REDIRECT [[RXTX]]
 
"RXTX is a Java library, using a native implementation (via JNI), providing serial and parallel communication for the Java Development Toolkit (JDK). All deliverables are under the GNU LGPL license. It is based on the specification for Sun's Java Communications API, though while many of the class descriptions are the same the package used it not, since gnu.io is used instead. A certain amount of compatibility is intended with API, though this project should be considered as a fork and therefore compatible in spirit, but not in implementation."
 
[http://rxtx.qbang.org/wiki/index.php/Main_Page RXTX Wiki]
 
=Errors and Solutions=
 
Error: Could not find the main class: processing.app.Base.  Program will exit.
 
Solution: sudo apt-get install ia32-libs
 
Answer from Forums: http://code.google.com/p/processing/issues/detail?id=151
 
----
 
=Move RXTX files to make Arduino boards compatible with Processing sketches=
 
*Navigate to the Arduino IDE folder>lib.
 
*Copy RXTXcomm.jar
 
[[Image: arduinorxtx.png|300px]]
 
*Navigate to the Processing folder>modes>java>libraries>serial>library
 
*Paste RXTXcomm.jar, replacing the existing version
 
[[Image: processinglibrary.png|300px]]
 
=Move RXTX Files from Arduino to Processing in Linux=
 
*Download the following file then copy it.
 
[[File: librxtxSerial.so]]
 
*Navigate to the Processing folder>modes>java>libraries>serial>library>linux32 (or linux64, depending on your system)
 
*Paste librxtxSerial.so, replacing the existing version
 
[[Image: processinglibrxtx.png|300px]]
 
=Move RXTX Files from Arduino to Processing in Windows=
 
*Navigate to the Arduino IDE folder.
 
*Copy '''rxtxSerial.dll'''
 
*Navigate to the Processing folder>modes>java>libraries>serial>library>windows32
 
*Paste rxtxSerial.dll, replacing the existing version

Latest revision as of 05:41, 13 November 2012

Redirect to: