# HG changeset patch # User Christophe Lincoln # Date 1399839421 -7200 # Node ID 3e73056c580a9a1d5b72837bb412d73d9e516e33 # Parent 8865300bbec589d4df4088b29db00a1d45664ac3 Improve PiFace documentation in PiBook diff -r 8865300bbec5 -r 3e73056c580a arm/codex/pibook.html --- a/arm/codex/pibook.html Sun May 11 01:04:14 2014 +0200 +++ b/arm/codex/pibook.html Sun May 11 22:17:01 2014 +0200 @@ -61,7 +61,7 @@
  • Using leds with the RPi
  • Pi Camera - Pi NoIR
  • PiGlow from Pimorini
  • -
  • PiFace Digital setup
  • +
  • PiFace Digital setup and usage
  • RaspiComm init and usage
  • @@ -556,13 +556,13 @@

    The PiFace Digital board allows you to connect things like switches, lights and motors so that your Raspberry Pi can become aware of, and - influence the world around it. Plug in your PiFace board then install - the official C library including the 'pifacedigital' utility and - testsuite: + influence the world around it. Plug in your PiFace board then use + SliTaz piface utility to install the official C library + the 'pifacedigital' utility and set of tiny tools:

    -# spk-add libpifacedigital
    +# piface help
     

    @@ -572,15 +572,44 @@

    -# pifacedigital-test
    +# piface testsuite
     
    +

    PiFace Metronome

    +

    - PiFace official website: - www.piface.org.uk - and guides + The Piface Slitaz utility use WiringPi to provide a simple metronome + using PiFace relays. The default is 80 beates per minutes but you can + specify any beates in a range of 40 to 200. To turn on and off the + metronome:

    +
    +# piface metronome 120
    +# piface metronome
    +
    + +

    Piface Reaction game

    + +

    + Let play to a reaction game with PiFace Digital. Run the command + bellow then press a button and wait untill 2 LEDs are on and press + the correspondig button as fast as you can: +

    + +
    +# piface reaction
    +
    + +

    Piface Digital info

    + +
    +Kernel modules   : i2c_bcm2708 i2c-dev
    +SliTaz packages  : libpifacedigital wiringpi-piface
    +Official website : www.piface.org.uk
    +Official guides  : www.piface.org.uk/guides
    +
    +

    RaspiComm