Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- module Arduino.DSL
- module Arduino.Library
- data GPIO
- digitalOutput :: GPIO -> Output Bit
- digitalRead :: GPIO -> Stream Bit
- pin2 :: GPIO
- pin3 :: GPIO
- pin4 :: GPIO
- pin5 :: GPIO
- pin6 :: GPIO
- pin7 :: GPIO
- pin8 :: GPIO
- pin9 :: GPIO
- pin10 :: GPIO
- pin11 :: GPIO
- pin12 :: GPIO
- pin13 :: GPIO
- data AnalogInput
- analogRead :: AnalogInput -> Stream Word
- a0 :: AnalogInput
- a1 :: AnalogInput
- a2 :: AnalogInput
- a3 :: AnalogInput
- a4 :: AnalogInput
- a5 :: AnalogInput
- uart :: Output Byte
- timerDelta :: Stream Word
- every :: Expression Word -> Stream Word
- clock :: Stream Word
Documentation
module Arduino.DSL
module Arduino.Library
GPIO
Analog input
data AnalogInput Source #
analogRead :: AnalogInput -> Stream Word Source #
a0 :: AnalogInput Source #
a1 :: AnalogInput Source #
a2 :: AnalogInput Source #
a3 :: AnalogInput Source #
a4 :: AnalogInput Source #
a5 :: AnalogInput Source #
UART
Clock
Uses TCNT1 on the Uno to make things happend at specific time intervals.
timerDelta :: Stream Word Source #