RXTX: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
Line 27: Line 27:
*Navigate to the Processing folder>modes>java>libraries>serial>library>Linux32
*Navigate to the Processing folder>modes>java>libraries>serial>library>Linux32


*Paste librxtxSerial.so, replacing the existing version '''For Windows users, paste into the windows32 or windows64 folder.'''
*Paste librxtxSerial.so, replacing the existing version '''For Windows users, paste into the windows32 or windows64 folder. For Mac users, paste into the maxosc folder.'''


[[File: librxtxSerial.so]]
[[File: librxtxSerial.so]]


[[Image: processinglibrxtx.png]]
[[Image: processinglibrxtx.png]]

Revision as of 02:07, 9 June 2012

What is 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."

RXTX Wiki

Move RXTX files to make Arduino boards compatible with Processing sketches

  • Navigate to the Arduino IDE folder>lib.
  • Copy RXTXcomm.jar

Arduinorxtx.png

  • Navigate to the Processing folder>modes>java>libraries>serial>library
  • Paste RXTXcomm.jar, replacing the existing version

Processinglibrary.png

  • Navigate to the Arduino IDE folder>lib
  • Copy librxtxSerial.so

Arduinolibrxtx.png

  • Navigate to the Processing folder>modes>java>libraries>serial>library>Linux32
  • Paste librxtxSerial.so, replacing the existing version For Windows users, paste into the windows32 or windows64 folder. For Mac users, paste into the maxosc folder.

File:LibrxtxSerial.so

Processinglibrxtx.png