summaryrefslogtreecommitdiffstats
path: root/ruby/ffi-k8055/README.rdoc
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2011-06-06 10:53:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2011-06-06 10:53:35 +0200
commit49e880da1dbab3850c4eb1682bafad6b57267817 (patch)
treef2bba3048b297189ef51fe304edbb4ec34736801 /ruby/ffi-k8055/README.rdoc
parent5e0aad9befe6214134a77cb267b8c89596945109 (diff)
downloadk8055-49e880da1dbab3850c4eb1682bafad6b57267817.zip
k8055-49e880da1dbab3850c4eb1682bafad6b57267817.tar.gz
add ruby/ffi-k8055
Diffstat (limited to 'ruby/ffi-k8055/README.rdoc')
-rw-r--r--ruby/ffi-k8055/README.rdoc69
1 files changed, 69 insertions, 0 deletions
diff --git a/ruby/ffi-k8055/README.rdoc b/ruby/ffi-k8055/README.rdoc
new file mode 100644
index 0000000..1c3ec69
--- /dev/null
+++ b/ruby/ffi-k8055/README.rdoc
@@ -0,0 +1,69 @@
+ffi-k8055
+ by Jérémy Zurcher
+ http://asynk.ch
+
+== DESCRIPTION:
+
+A ruby-ffi binding to libk8055, an open source library to access Velleman's k8055 USB board.
+This is part of k8055[https://github.com/jeremyz/k8055]
+
+== FEATURES/PROBLEMS:
+
+ # TODO
+
+== SYNOPSIS:
+
+ require 'k8055'
+ puts "K8055 version : #{K8055.version}"
+ @k = K8055::K8055.new
+ @k.open_device 0
+ @k.write_analog_channel 1, 128
+ @k.k8055_set_analog_channel 2
+ @k.close_device
+
+For more examples you may look at:
+
+* the spec/[https://github.com/jeremyz/k8055/tree/master/ruby/ffi-k8055/spec] folder
+
+
+
+== REQUIREMENTS:
+
+* You need to first install libk8055[https://github.com/jeremyz/k8055]
+
+== DOWNLOAD/INSTALL:
+
+From rubygems:
+
+ [sudo] gem install ffi-k8055
+
+or from the git repository on github:
+
+ git clone git://github.com/jeremyz/k8055.git
+ cd k8055/ruby/ffi-k8055
+ rake gem:install
+
+== RESOURCES:
+
+You can find this project in a few places:
+
+Online repositories:
+
+* https://github.com/jeremyz/k8055
+* http://cgit.asynk.ch/cgi-bin/cgit/k8055
+* https://gitorious.org/k8055
+
+Gem:
+
+* https://rubygems.org/gems/ffi-k8055
+
+== CREDITS:
+
+Special thanks to:
+
+* Sven Lindberg
+* Pjetur G. Hjaltason
+
+== LICENSE:
+
+See MIT-LICENSE file.