Cross platform serial port library.

Version on this page:0.4.7
LTS Haskell 6.35:0.4.7
Stackage Nightly 2016-05-25:0.4.7
Latest on Hackage:0.4.7

See all snapshots serialport appears in

BSD-3-Clause licensed by Joris Putcuyps
Maintained by

Module documentation for 0.4.7


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



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”


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