Blink sample using opendevice-connection-stream (the the low-level Java Library).
In this example we will demonstrate how to communicate with a device (such as Arduino) using the Java low-level API to control an LED using the USB port.
We are not using the OpenDevice Specifications, so let’s start to simplification. It can be used to connect to any serial device (eg fax modem using AT commands) without necessarily it has the OpenDevice firmware. But all features of data conversion and protocol is in your hand (little more difficult).
Add "opendevice-connection-stream" dependency to pom.xml (see this, and change the artifactId)
0 Comments