Clojure API for the firmata protocol.
Clojure Processing C
Latest commit 07baa0f Mar 9, 2014 @nakkaya update readme
Permalink
Failed to load latest commit information.
resources network settings Nov 14, 2011
src/clodiuno change printing messages from board to executing an user-defined call… Feb 8, 2014
.gitignore update git ignore Mar 1, 2013
LICENSE
README.markdown
project.clj bump version Mar 1, 2013

README.markdown

Clojure API for Arduino.

To install, merely add the following to your 'project.clj'.

[clodiuno "0.0.4-SNAPSHOT"]

For examples, check out the project homepage.

Usage

Create board

(ns clj-arduino
  (:require [clodiuno.core    :refer :all])
  (:require [clodiuno.firmata :refer :all]))

(def board (arduino :firmata "/path/to/port"))
; or
(def board (arduino :firmata "/path/to/port" :baudrate 9600))
; default baudrate is 57600

Issues

If you got NoSuchPortException then you need add your port to env var containing ports.

(System/setProperty "gnu.io.rxtx.SerialPorts" "/path/to/your/port")