slitaz-forge rev 558
Improve PiFace documentation in PiBook
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 11 22:17:01 2014 +0200 (2014-05-11) |
parents | 8865300bbec5 |
children | 58f67fe7e0bd |
files | arm/codex/pibook.html |
line diff
1.1 --- a/arm/codex/pibook.html Sun May 11 01:04:14 2014 +0200 1.2 +++ b/arm/codex/pibook.html Sun May 11 22:17:01 2014 +0200 1.3 @@ -61,7 +61,7 @@ 1.4 <li><a href="#pileds">Using leds with the RPi</a></li> 1.5 <li><a href="#picam">Pi Camera - Pi NoIR</a></li> 1.6 <li><a href="#piglow">PiGlow from Pimorini</a></li> 1.7 - <li><a href="#piface">PiFace Digital setup</a></li> 1.8 + <li><a href="#piface">PiFace Digital setup and usage</a></li> 1.9 <li><a href="#raspicomm">RaspiComm init and usage</a></li> 1.10 </ul> 1.11 1.12 @@ -556,13 +556,13 @@ 1.13 <p> 1.14 The PiFace Digital board allows you to connect things like switches, 1.15 lights and motors so that your Raspberry Pi can become aware of, and 1.16 - influence the world around it. Plug in your PiFace board then install 1.17 - the official C library including the 'pifacedigital' utility and 1.18 - testsuite: 1.19 + influence the world around it. Plug in your PiFace board then use 1.20 + SliTaz <b>piface</b> utility to install the official C library 1.21 + the 'pifacedigital' utility and set of tiny tools: 1.22 </p> 1.23 1.24 <pre> 1.25 -# spk-add libpifacedigital 1.26 +# piface help 1.27 </pre> 1.28 1.29 <p> 1.30 @@ -572,15 +572,44 @@ 1.31 </p> 1.32 1.33 <pre> 1.34 -# pifacedigital-test 1.35 +# piface testsuite 1.36 </pre> 1.37 1.38 +<h3>PiFace Metronome</h3> 1.39 + 1.40 <p> 1.41 - PiFace official website: 1.42 - <a href="http://www.piface.org.uk/">www.piface.org.uk</a> 1.43 - and <a href="http://www.piface.org.uk/guides/">guides</a> 1.44 + The Piface Slitaz utility use WiringPi to provide a simple metronome 1.45 + using PiFace relays. The default is 80 beates per minutes but you can 1.46 + specify any beates in a range of 40 to 200. To turn on and off the 1.47 + metronome: 1.48 </p> 1.49 1.50 +<pre> 1.51 +# piface metronome 120 1.52 +# piface metronome 1.53 +</pre> 1.54 + 1.55 +<h3>Piface Reaction game</h3> 1.56 + 1.57 +<p> 1.58 + Let play to a reaction game with PiFace Digital. Run the command 1.59 + bellow then press a button and wait untill 2 LEDs are on and press 1.60 + the correspondig button as fast as you can: 1.61 +</p> 1.62 + 1.63 +<pre> 1.64 +# piface reaction 1.65 +</pre> 1.66 + 1.67 +<h3>Piface Digital info</h3> 1.68 + 1.69 +<pre> 1.70 +Kernel modules : i2c_bcm2708 i2c-dev 1.71 +SliTaz packages : libpifacedigital wiringpi-piface 1.72 +Official website : <a href="http://www.piface.org.uk/">www.piface.org.uk</a> 1.73 +Official guides : <a href="http://www.piface.org.uk/guides/">www.piface.org.uk/guides</a> 1.74 +</pre> 1.75 + 1.76 <!-- RaspiComm --> 1.77 <h2 id="raspicomm">RaspiComm</h2> 1.78