NAME

Device::Firmata::Constants - constants used in the Device::Firmata modules

DESCRIPTION

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