Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Haskell Implementation of GPIO wrapper library for Raspberry Pi
Haskell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
trunk
.gitignore
README.md

README.md

system-gpio

Haskell Implementation of GPIO wrapper library for Raspberry Pi

todo

Adding STM support

example

module Main where

import System.Hardware.GPIO.Pin as P


main :: IO ()
main = do
  { p <- P.init 7 Out
  ; v1 <- P.read p
  ; print v1
  ; P.set p One
  ; v2 <- P.read p
  ; print v2
  ; P.close p
  }
Something went wrong with that request. Please try again.