Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

rgoulter/arduino-atom-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of code for playing around with an Arduino Uno.
Arduino Sketches, C code, and Atom (Haskell EDSL) code is provided.

Examples

Blink

'blinks' the inbuild LED of the Arduino.

The C code was taken from balau82's post.

The Atom code was adapted from this TechOverflow post

Spaceship Interface

Project 02 of the Arduino Projects Book, which comes with the Arduino Starter Kit.
Has a push-switch and some LEDs (green, red, red). The green LED is lit if the switch is not pressed, red LEDs alternate if the switch is pressed.

Usage Notes

Arscons (SCons Script) Usage

Adapted from suapapa/arscons Assumes scons, and the Python package pyserial installed.

Haskell Atom Usage

Assumes the cabal packages atom and heredoc are installed.

It can be easier to install these in a Cabal Sandbox (and the makefiles assume these are created in the atom/ folders).
A sandbox can be created, with these dependencies installed by running:

cabal sandbox init
cabal install atom
cabal install heredoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published