The evolution of a complete, open source, java solution for the control and coordination of Arduino boards
Java Other Processing Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ardulink-camel Modify version after official release done Jan 13, 2018
ardulink-console Modify version after official release done Jan 13, 2018
ardulink-core-base Modify version after official release done Jan 13, 2018
ardulink-core-beans Modify version after official release done Jan 13, 2018
ardulink-core-bluetooth Modify version after official release done Jan 13, 2018
ardulink-core-digispark Modify version after official release done Jan 13, 2018
ardulink-core-mqtt Merge branch 'master' of https://github.com/Ardulink/Ardulink-2 Jan 17, 2018
ardulink-core-nodemcu Modify version after official release done Jan 13, 2018
ardulink-core-proxy Modify version after official release done Jan 13, 2018
ardulink-core-raspberry Modify version after official release done Jan 13, 2018
ardulink-core-serial-jssc Modify version after official release done Jan 13, 2018
ardulink-core-serial-rxtx Modify version after official release done Jan 13, 2018
ardulink-core-util Modify version after official release done Jan 13, 2018
ardulink-core-virtual Modify version after official release done Jan 13, 2018
ardulink-legacy Modify version after official release done Jan 13, 2018
ardulink-mail Modify version after official release done Jan 13, 2018
ardulink-mqtt Modify version after official release done Jan 13, 2018
ardulink-networkproxyserver Modify version after official release done Jan 13, 2018
ardulink-swing Modify version after official release done Jan 13, 2018
deploy-dist Modify version after official release done Jan 13, 2018
deploy-javadocutils Modify version after official release done Jan 13, 2018
example-buttonquest Modify version after official release done Jan 13, 2018
example-datareceiver Modify version after official release done Jan 13, 2018
example-joysticksmartcardriver Modify version after official release done Jan 13, 2018
example-simplesmartcardriver Modify version after official release done Jan 13, 2018
example-uniqueid Modify version after official release done Jan 13, 2018
local-repo Revert "pushed down local-repos" Sep 1, 2017
.gitignore purged eclipse .project files Feb 28, 2016
.travis.yml several files and CI May 2, 2016
LICENSE Merge branch 'master' of https://github.com/Ardulink/Ardulink-2 into … Feb 23, 2016
README.md Update README.md Jan 13, 2018
pom.xml Modify version after official release done Jan 13, 2018

README.md

Ardulink-2 Build Status

This is the repository for Ardulink 2. Ardulink 2 is a complete, open source, java solution for the control and coordination of Arduino boards. This repository contains Ardulink Version 0.6.2 and all upcoming releases.

public static void main(String[] args) throws InterruptedException, IOException {
	Link link = Links.getDefault();
	DigitalPin pin = Pin.digitalPin(2);
	for (boolean power = true;; power = !power) {
		System.out.println("Send power: " + power);
		link.switchDigitalPin(pin, power);
		TimeUnit.SECONDS.sleep(2);
	}
}

Recommended way of using Ardulink-2 inside your own application is declaring a dependency on “ardulink-core-base” using your favorite build system. When using maven please add

<dependency>
    <groupId>org.ardulink</groupId>
    <artifactId>ardulink-core-base</artifactId>
    <version>2.1.0</version>
</dependency>

Without adding additional jars Links.getDefault() would throw an exception because no link type is available. For each link type a separate jar is available. So if you like to connect using a serial link you have to add the corresponding module.For serial link this is

<dependency>
    <groupId>org.ardulink</groupId>
    <artifactId>ardulink-core-serial-jssc</artifactId>
    <version>2.1.0</version>
</dependency>

To see all available link types and a how to use Ardulink with other build systems see https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.ardulink%22

see Ardulink site: www.ardulink.org