Skip to content
Cross platform haskell library for using the serial port
Haskell Arduino
Latest commit 2230c18 Oct 14, 2014 @jputcu Merge pull request #23 from Chobbes/master
Changing String to the more descriptive and appropriate FilePath type.
Failed to load latest commit information.
System Changing String to the more descriptive and appropriate FilePath type. Oct 13, 2014
tests Currently disable failing delay test Aug 28, 2014
.gitignore Create .gitignore Jul 5, 2013
CHANGELOG.md Update changelog Aug 28, 2014
LICENSE Imported source files from darcs repository Apr 10, 2011
README.md
Setup.hs Imported source files from darcs repository Apr 10, 2011
serialport.cabal Add Arduino program to distribution package Aug 28, 2014

README.md

Objectives

  • Cross platform: at least Linux, Windows and Mac OS.

Tests

Setup

Prepare Arduino

  • Upload arduino code using Arduino IDE or avrdude

Prepare haskell test program

  • Configure cabal to build the tests: cabal configure --enable-tests.
  • Build: cabal build

Running the tests

  • Run the tests: cabal test --test-options="/dev/ttyACM0 /dev/ttyUSB0"
Something went wrong with that request. Please try again.