Perl6 wrapper for the WiringPi library --> http://wiringpi.com/
Perl6
Latest commit 3455d77 Mar 6, 2017 @Sufrostico committed on GitHub Merge pull request #2 from patzim/master
WiringPi 2.39, pull in next, fix SPI
Permalink
Failed to load latest commit information.
examples examples skeleton Aug 30, 2015
lib/RPi/Wiring Fix up Pi and SPI. Tested and works. Mar 2, 2017
t Fix test case Feb 24, 2016
.gitignore
.travis.yml Add travis CI support Feb 21, 2016
LICENSE Initial Commit Aug 30, 2015
META.info Add mandatory "perl" META field Oct 26, 2016
README.md Fix up version wiringpi version number in doc. Mar 3, 2017

README.md

Perl6 - WiringPI Build Status

Perl6 Wrapper for the WiringPi C library (to use with the raspberry pi).

From the WiringPI site:

WiringPi is a GPIO access library written in C for the BCM2835 used in the Raspberry Pi. It’s released under the GNU LGPLv3 license and is usable from C and C++ and many other languages with suitable wrappers. It’s designed to be familiar to people who have used the Arduino “wiring” system.

Installation

  1. This module requires the wiringpi library to installed manually following this guide

  2. Installation using zef

    • From sources:
          zef install .
      

Current status

  • Tested with WiringPi version 2.39.
  • Only the main functions of the library have been mapped using NativeCall.
  • SPI works.
  • I2C, Serial, Shift and SoftTone are there but untested.

Testing

To run tests:

    prove -e perl6

Author

Aurelio Sanabria, sufrostico on #perl6 and github (https://github.com/sufrostico/)

License

GPL - General Public License