mokus0 / serialport

Cross platform haskell library for using the serial port

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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"

About

Cross platform haskell library for using the serial port

License:Other


Languages

Language:Haskell 88.1%Language:Arduino 11.9%