[Haskell-beginners] GPIO/I2C/PWM and Haskell

Michal Kawalec michal at bazzle.me
Tue Jan 27 14:45:44 UTC 2015


Hey list,

I got myself a Beaglebone and will use it to stabilize and fly a drone
with Haskell. The ghc support seems good enough (text doesn't compile,
everything else does), but I have a question about inputs/outputs.

They are all set through sysfs, and I think a wrapper over it would be
easiest and most straightforward to have. The operation of most pins
goes along the lines of 'activate a pin -> do some stuff -> turn it
off'. Is there some particular mechanism/library you would suggest me to
look into to handle that? Any thoughts or own experience with doing
similar things with Haskell?


Any tips will be appreciated:)
Michal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://www.haskell.org/pipermail/beginners/attachments/20150127/88e3da31/attachment.sig>


More information about the Beginners mailing list