Perl6 wrapper for the WiringPi library --> http://wiringpi.com/
Perl6
Switch branches/tags
Nothing to show
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

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