Skip to content

nakkaya/clodiuno

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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")

About

Clojure API for the firmata protocol.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published