Permalink
Switch branches/tags
Nothing to show
Commits on Apr 9, 2015
Commits on Jul 23, 2013
Commits on Jun 19, 2013
  1. Initial support for Wiring Pi version 2

    (tested with 2.0.7)
    
    This commit doesn't differ too much from the version 1 support, except
    for the addition of wpi:setup_phys/0 and building with
    wiringPiDev (for the LCD library).
    
    Ought to fix #5.
    committed Jun 19, 2013
  2. Bugfix README.md

    committed Jun 19, 2013
  3. Expose the setup, setup_gpio and setup_sys

    This is a backwards-incompatible change while preparing for wiringPi
    version 2 support.  This commit still supports wiringPi version 1.
    
    Previously the setup function - wiringPiSetup() - was called when the
    NIF was loaded.  The downside with that approach was that wpi had to
    be run as root, although the nice thing was that a user wouldn't have
    to worry about calling setup before accessing pins.
    
    After some consideration I've (despite breaking backwards
    compatibility) decided to remove the setup from the NIF loading and
    let the user choose the method.
    
    Hopefully fixes issue #4.
    committed Jun 19, 2013
Commits on Jun 10, 2013
  1. Point urls at wiringpi.com

    committed Jun 10, 2013
Commits on Oct 9, 2012
  1. Write an edoc note on the fact that serial_get_char may hang the emul…

    …ator.
    
    Thanks to Tony Rogvall for the reminder.
    committed Oct 9, 2012
Commits on Oct 8, 2012
  1. Document all functions

    committed Oct 8, 2012
Commits on Sep 23, 2012
  1. Add THANKS file

    committed Sep 23, 2012
  2. Merge pull request #1 from daha/serial_and_spi

    Wrap serial and SPI libraries
    committed Sep 23, 2012
Commits on Sep 18, 2012
  1. Added a few missing guards plus minor style changes,

    to conform to the rest of the code
    daha committed Sep 18, 2012
  2. Changed the SPI functionality line

    daha committed Sep 18, 2012
Commits on Sep 17, 2012
  1. Wrap the SPI library

    daha committed Sep 17, 2012
Commits on Sep 15, 2012
  1. Wrap the serial library

    daha committed Sep 15, 2012
Commits on Aug 25, 2012
  1. Wrap the soft PWM library

    committed Aug 25, 2012
  2. Wrap the shift library

    This is untested, use with care.
    committed Aug 25, 2012
Commits on Aug 20, 2012
  1. Wrap the LCD library

    All functions are supported, except `lcdPrintf' which is instead
    replaced by lcd_format which supports erlang-style format strings and
    arbirary terms.
    committed Aug 20, 2012
Commits on Jul 29, 2012
Commits on Jul 27, 2012
  1. Suffix the nif functions to allow an extra layer of guards and erlang…

    … code
    
    This makes it possible to for example accept atoms for input/output
    further on instead of solely relying on macros which makes interactive
    use a bit easier.
    committed Jul 27, 2012
Commits on Jul 21, 2012
  1. Remove WPI_MODE_PINS and WPI_MODE_GPIO macros

    These can be removed since they were made obsolete in the previous checkin.
    committed Jul 21, 2012