Device::Firmata::Constants - constants used in the Device::Firmata modules
Provides several constants to be used with Device::Firmata::Platform.
Pin modes:
PIN_INPUT
PIN_OUTPUT
PIN_ANALOG
PIN_PWM
PIN_SERVO
PIN_SHIFT
PIN_I2C
PIN_ONEWIRE
PIN_STEPPER
PIN_ENCODER
PIN_SERIAL
PIN_PULLUP
Digital pin states:
PIN_LOW
PIN_HIGH
To install Device::Firmata, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Device::Firmata
CPAN shell
perl -MCPAN -e shell install Device::Firmata
For more information on module installation, please visit the detailed CPAN module installation guide.