hArduino-0.1: Control your Arduino board from Haskell.

Stabilityexperimental
Maintainererkokl@gmail.com
Safe HaskellNone

System.Hardware.Arduino.Examples.Blink

Description

The hello world of the arduino world, blinking the led.

Synopsis

Documentation

blink :: IO ()Source

Blink the led connected to port 13 on the Arduino UNO board. The blinking will synchronize with the printing of a dot on stdout.

Depending on your set-up, you will need to change the path to the USB board. If you have problems, try changing the first argument to True in the call to withArduino, which will hopefully print a useful diagnostic message.