Commit Graph

31 Commits

Author SHA1 Message Date
Jonathan Feinberg
bd3fe3514c Permit implementing serialEvet and serialAvailable without having to link to Serial at buildtime.
This is useful for Python mode, or any other Java-compatible Processing that doesn't allow reflection on the sketch.
2014-05-19 20:42:26 -04:00
gohai
5235b190c2 Serial: Remove debug code again 2013-12-15 16:02:23 -08:00
gohai
1c95fd341e Serial: Only use workaround if we're using serialEvent 2013-12-15 15:55:31 -08:00
gohai
59761b42d2 Serial: Only read a single character at a time to emulate RXTX behavior 2013-11-25 08:23:40 -08:00
gohai
541cab2bd9 Add a debug() method to Serial
This commit also turns a 100ns wait inside JSSC in a yield() and removes the invocation of serialEvent outside the synchronized block.
2013-11-24 20:52:38 -08:00
gohai
0ef72e25c9 Serial: Switch the examples over to printArray() 2013-11-19 17:22:13 -08:00
gohai
95bac1d04c Serial: Add basic tests for throughput and latency 2013-11-19 16:37:14 -08:00
gohai
72ec72ae53 Add missing readStringUntil() method 2013-10-28 17:18:13 +01:00
melgior
e208f2fec8 Updated Arduino example code to be Arduino 1.0+ compatible 2013-10-17 13:22:10 +02:00
melgior
f5eb74c083 Updated Arduino example code to be Arduino 1.0+ compatible 2013-10-17 13:20:53 +02:00
melgior
8e47e8b3c5 Updated Arduino example code to be Arduino 1.0+ compatible 2013-10-17 13:17:33 +02:00
gohai
3b8ed3db55 Document how to compile the native JSSC library 2013-10-01 21:29:15 -07:00
gohai
7c2f50ef8a Remove obsolete .cvsignore file 2013-10-01 21:27:48 -07:00
gohai
ba4f204c25 Remove commented out lines 2013-10-01 21:27:27 -07:00
Ben Fry
f2bc900427 update serial with p5 code conventions, fix two warnings 2013-09-25 14:12:56 -04:00
gohai
d46e55714d Replace RXTX-based serial library by one based on JSSC
Development on this was done in https://github.com/gohai/processing-serial-jssc. See also https://github.com/gohai/java-simple-serial-connector for changes to JSSC (not yet upstreamed).
2013-09-24 08:26:08 -07:00
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
Ben Fry
eee6123135 adding ignore files 2013-01-27 10:52:36 -05:00
benfry
8b771c0d98 cleaning up stop/dispose events 2012-11-25 17:41:33 +00:00
benfry
54b524d22a add tool to fix the serial port on OS X 2012-10-21 00:12:26 +00:00
benfry
ab815ede89 update source/target settings in build b/c of Java 7 warnings 2012-10-19 14:48:48 +00:00
benfry
e85b1c7496 throw an exception when /var/lock does not exist.. otherwise too subtle 2012-08-05 14:37:33 +00:00
benfry
02b4e738f5 fix problem with bufferUntil() not properly handling values over 127 (issue #1079) 2012-08-04 19:57:29 +00:00
benfry
c5db8dbb16 add 64-bit version of OS X serial, also add warning about lock files 2012-08-04 19:30:44 +00:00
benfry
7a7b856385 making further progress on build process 2012-07-20 23:21:24 +00:00
benfry
436a81e330 cleaning up warnings, specifying Java 1.6 for build in Eclipse, remove unused 2011-11-12 17:31:06 +00:00
Casey Reas
adfaed5e1a Basic 2.0 Ref changes 2011-07-27 16:04:21 +00:00
benfry
e4f3bf393a updating to new rxtx version 2011-01-28 20:15:14 +00:00
benfry
b9d14b44d5 fixing build scripts for new locations 2011-01-26 21:53:07 +00:00
benfry
a53f278863 moving examples to hang out with their libraries 2011-01-26 19:43:04 +00:00
benfry
7f118cf342 moving to new structure 2011-01-26 19:12:55 +00:00