my patches for ocaml-wiringpi
Go to file
Marek Kubica a97c5d4ad8 Ignore OASIS generated stuff 2014-07-06 23:09:32 +02:00
src OASIS-ify source tree 2014-07-06 23:07:29 +02:00
test OASIS-ify source tree 2014-07-06 23:07:29 +02:00
.gitignore Ignore OASIS generated stuff 2014-07-06 23:09:32 +02:00
COPYING Add README + COPYING + function search ln 2013-12-07 03:58:45 +01:00
README.org Minor modification in doc and add global variables in sapin_noel.ml 2013-12-17 21:23:04 +01:00
_oasis OASIS-ify source tree 2014-07-06 23:07:29 +02:00
shiftReg.ml The pulse mode is written in reg now. 2013-12-08 00:18:56 +01:00

README.org

Use

To use it just run

make

and then

sudo ./sapin_noel.bin

Goal

This script uses the wiringPi library http://wiringpi.com/ (thank you for your job) and adapts it in order to make it usable in Ocaml. Most common functions are implemented (see wiringPiOcaml.ml) but lot's of functions aren't present for the moment. It's very simple to add these functions, so you can add them and if you want I can add your modifications.

There is too a little script to use shift registers, and an example file named sapin_noel.ml.

Enjoy !