hArduino-1.2: Control your Arduino board from Haskell.
Copyright(c) Levent Erkok
LicenseBSD3
Maintainererkokl@gmail.com
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

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: