You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ Note that this version is alpha release.
10
10
11
11
## How to use
12
12
13
+
Build the source code (see below) or download a binary from [our SourceForge project page](https://sourceforge.net/projects/procandser/).
14
+
13
15
Unzip `AndroidSerial-distribution.zip` and copy all files including `AndroidSerial` directory to your `library` folder (e.g. `~/Documents/Processing/library`).
14
16
15
17
The usage of the library is almost same as [processing.serial.Serial](http://processing.org/reference/libraries/serial/Serial.html) library.
@@ -59,7 +61,14 @@ You can get a working example from the [sparkfun's pulse sensor SEN-11574](https
59
61
60
62
## How to build
61
63
62
-
Install [maven](http://maven.apache.org/) and run the command:
64
+
You can build the project source code though you can download the built binary from [our SourceForge project page](https://sourceforge.net/projects/procandser/).
65
+
66
+
Prior to building the project, you need to install the following software:
67
+
68
+
1. JDK 6 (Any JDK will be available)
69
+
1.[Apache Maven](http://maven.apache.org/) (Choose the latest one if possible)
70
+
71
+
Then run the following command under the root of the project:
63
72
64
73
mvn clean deploy
65
74
@@ -111,15 +120,22 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
*[Robolectric](https://github.com/robolectric/robolectric/) ... Android testing library (TEST USE ONLY)
124
+
*[Mockito](https://code.google.com/p/mockito/) ... Mock testing library (TEST USE ONLY)
114
125
115
126
## Known Issues
116
127
117
-
* The release binary will be moved to [SourceForge](http://sourceforge.net/) though it is currently put under the project root
118
128
* Unexpected error occurs when the sketch is compiled and installed into a device
119
129
* The current version of [usb-serial-for-android](https://code.google.com/p/usb-serial-for-android/) has several issues regarding data reading. If `java.io.IOException: Expected at least 2 bytes` is observed, please wait a moment or try to re-connect the cable though the trunk version of the driver is already fixed
120
130
121
131
## Change History
122
132
133
+
0.0.2-alpha : June 20, 2013
134
+
135
+
* Fixes an [issue](https://github.com/inventit/processing-android-serial/issues/1) where [Arduino Due](http://arduino.cc/en/Main/arduinoBoardDue) cannot be detected by [usb-serial-for-android](https://code.google.com/p/usb-serial-for-android/) library. Now all Arduino devices are accepted (but not sure they all work properly. [Give us your feedback](https://github.com/inventit/processing-android-serial/issues))
136
+
* Adds unit testing libraries, [Robolectric](https://github.com/robolectric/robolectric/) and [Mockito](https://code.google.com/p/mockito/)
137
+
* The release binary has been moved to [our SourceForge project page](https://sourceforge.net/projects/procandser/)
0 commit comments