hArduino-0.3: Control your Arduino board from Haskell.

Stabilityexperimental
Maintainererkokl@gmail.com
Safe HaskellNone

System.Hardware.Arduino.SamplePrograms.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.

Note that you do not need any other components to run this example: Just hook up your Arduino to the computer and make sure StandardFirmata is running on it. However, you can connect a LED between Pin13 and GND if you want to blink an external led as well, as depicted below: