my patches for ocaml-wiringpi
Go to file
Tobias Bora 076fc58545 The pulse mode is written in reg now. 2013-12-08 00:18:56 +01:00
COPYING Add README + COPYING + function search ln 2013-12-07 03:58:45 +01:00
Makefile First commit, a first version of wiringPiOcaml works, and the shift register can be used ! 2013-12-03 10:49:04 +01:00
README.org Minor README modification. 2013-12-07 23:34:10 +01:00
sapin_noel.bin The pulse mode is written in reg now. 2013-12-08 00:18:56 +01:00
sapin_noel.ml The pulse mode is written in reg now. 2013-12-08 00:18:56 +01:00
shiftReg.ml The pulse mode is written in reg now. 2013-12-08 00:18:56 +01:00
wiringPiOcaml.ml First commit, a first version of wiringPiOcaml works, and the shift register can be used ! 2013-12-03 10:49:04 +01:00
wiringPiOcaml_stub.c First commit, a first version of wiringPiOcaml works, and the shift register can be used ! 2013-12-03 10:49:04 +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 adapt it in order to make it usable in Ocaml. Must common functions are implemented (see wiringPiOcaml.ml) but lot's a function 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.

Enjoy !