Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jputcu/serialport

Cross platform haskell library for using the serial port
https://github.com/jputcu/serialport

Last synced: 2 months ago
JSON representation

Cross platform haskell library for using the serial port

Awesome Lists containing this project

README

        

Objectives
==========
* Cross platform: at least Linux, Windows and Mac OS.

Tests
=====

Setup
-----
* [Arduino Leonardo](http://arduino.cc/en/Main/arduinoBoardLeonardo) + [Sparkfun FTDI breakout board](https://www.sparkfun.com/products/718).
* Connections: TX, RX and GND

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"