NAME

RPi::WiringPi::Constant - Constant variables for RPi::WiringPi

SYNOPSIS

use RPi::WiringPi::Constant (:all);

# or...

use RPi::WiringPi::Constant (:pinmode);

# etc

DESCRIPTION

This module optionally exports selections or all constant variables used within the RPi::WiringPi suite.

CONSTANT EXPORT TAGS

These are the individual grouping of export tags. The :all tag includes all of the below.

:pinmode

INPUT => 0,
OUTPUT => 1,
PWM_OUT => 2,
GPIO_CLOCK => 3,

:state

HIGH => 1,
LOW => 0,
ON => 1,
OFF => 0,

AUTHOR

Steve Bertrand, <steveb@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2016 by Steve Bertrand

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.18.2 or, at your option, any later version of Perl 5 you may have available.