NAME

HiPi::GPIO::PAD5

VERSION

Version 0.01

SYNOPSYS

 use HiPi::Constant qw( :pinmode );
 use HiPi::GPIO::PAD5;

 my $pad5 = HiPi::GPIO::PAD5->new;
 
 # Set RPi Pad 5 header pins 3 & 4 to output and value high
 
 for ( 3, 4 ) {
     $pad5->set_pin_mode($_, PIN_MODE_OUTPUT);
     $pad5->set_pin($_);
 }
  ...

DESCRIPTION

See pod for HiPi::GPIO for full usage and methods.

LICENSE

This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version.

License Note

I would normally release any Perl code under the Perl Artistic License but this module wraps several GPL / LGPL C libraries and I feel that the licensing of the entire distribution is simpler if the Perl code is under GPL too.

AUTHOR

Mark Dootson, <mdootson at cpan.org>

COPYRIGHT

Copyright (C) 2012-2013 Mark Dootson, all rights reserved.