hArduino-0.4: Control your Arduino board from Haskell.
System.Hardware.Arduino.SamplePrograms.PulseOut
Description
Demonstrates the use of pulseOut
Synopsis
pulseDemo :: IO ()Source
Send pulses on a led as requested by the user. Note that the timing is computed on the host side, thus the duration of the pulse is subject to some error due to the Firmata communication overhead.
Wiring: Simply a led on pin 13: