Class GlcdPinMapConfig


  • public class GlcdPinMapConfig
    extends java.lang.Object
    A utility class for mapping a GlcdPin with device pin number
    Author:
    Rafael Ibasco
    • Constructor Detail

      • GlcdPinMapConfig

        public GlcdPinMapConfig()
        Creates a new instance of the GlcdPinMapConfig.
    • Method Detail

      • map

        public GlcdPinMapConfig map​(GlcdPin glcdPin,
                                    int value)
        Maps a GlcdPin to a device pin number
        Parameters:
        glcdPin - A GlcdPin to be mapped
        value - The gpio line number. Follows the standard BCM pin numbering scheme.
        Returns:
        GlcdPinMapConfig
      • getPinMap

        public java.util.Map<GlcdPin,​java.lang.Byte> getPinMap()
        Returns:
        A map of all the pin configurations