Skip to content
Cross platform haskell library for using the serial port
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
System
tests
.gitignore
CHANGELOG.md
LICENSE
README.md
Setup.hs
serialport.cabal

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"
You can’t perform that action at this time.