The serialport package

[Tags:bsd3, library, test]

Cross platform haskell library for using the serial port.


[Skip to Readme]

Properties

Versions 0.1.0, 0.1.0.1, 0.1.0.2, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.4.0, 0.4.0.1, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5, 0.4.6, 0.4.7
Change log CHANGELOG.md
Dependencies base (==4.*), bytestring, unix, Win32 [details]
License BSD3
Copyright (c) 2009-2011 Joris Putcuyps
Author Joris Putcuyps
Maintainer Joris.Putcuyps@gmail.com
Stability Unknown
Category Hardware
Home page https://github.com/jputcu/serialport
Bug tracker https://github.com/jputcu/serialport/issues
Source repository head: git clone git://github.com/jputcu/serialport.git
Uploaded Thu Aug 28 19:14:07 UTC 2014 by JorisPutcuyps
Distributions LTSHaskell:0.4.7, NixOS:0.4.7, Tumbleweed:0.4.7
Downloads 4591 total (25 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Successful builds reported [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for serialport

Readme for serialport-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"