mirror of
https://github.com/co-dan/ocaml-wiringpi/
synced 2025-11-02 13:53:52 +01:00
aecf1b42f7a4e5c8ae624a3f48b232eec13a0c17
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 !
Description
Languages
OCaml
81.7%
C
18.3%