gpio-0.1.0.1: Haskell GPIO interface, designed specifically for the RaspberryPi.
System.GPIO.Types
data Pin Source
Constructors
Instances
pinNumDict :: [(Pin, Int)] Source
pinNum :: Pin -> Int Source
pinNumT :: Pin -> Text Source
fromInt :: Int -> Maybe Pin Source
data ActivePin a where Source
pin :: ActivePin a -> Pin Source
data Dir Source
data Value Source
class ToText a where Source
Methods
toText :: a -> Text Source
class FromText a where Source
fromText :: Text -> Either Text a Source