serialport

Cross platform serial port library. https://github.com/jputcu/serialport

LTS Haskell 6.35:0.4.7
Stackage Nightly 2016-05-25:0.4.7
Latest on Hackage:0.4.7
BSD3 licensed by Joris Putcuyps
Maintained by Joris.Putcuyps@gmail.com

Module documentation for 0.4.7

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"

Changes

4.7 (28/08/2014)

  • Open in non-blocking mode, immediately reverting to blocking to fix OS-X problem
Depends on 3 packages:
comments powered byDisqus