Class BlinkinDriver

  • All Implemented Interfaces:
    edu.wpi.first.wpilibj.Sendable

    public class BlinkinDriver
    extends java.lang.Object
    implements edu.wpi.first.wpilibj.Sendable
    A wrapper for the REV Blinkin LED driver
    http://www.revrobotics.com/rev-11-1105/
    • Constructor Summary

      Constructors 
      Constructor Description
      BlinkinDriver​(int pwm_port)
      A wrapper for the REV Blinkin LED driver
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void initSendable​(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder builder)
      This method handles interaction with some internal WPIlib services
      void set​(BlinkinDriver.LEDSetting setting)
      Set the LED driver to a specific setting
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface edu.wpi.first.wpilibj.Sendable

        addChild, getName, getSubsystem, setName, setName, setName, setName, setSubsystem
    • Constructor Detail

      • BlinkinDriver

        public BlinkinDriver​(int pwm_port)
        A wrapper for the REV Blinkin LED driver
        Parameters:
        pwm_port - The PWM channel for the deivce
    • Method Detail

      • set

        public void set​(BlinkinDriver.LEDSetting setting)
        Set the LED driver to a specific setting
        Parameters:
        setting - LED pattern
      • initSendable

        public void initSendable​(edu.wpi.first.wpilibj.smartdashboard.SendableBuilder builder)
        This method handles interaction with some internal WPIlib services
        Specified by:
        initSendable in interface edu.wpi.first.wpilibj.Sendable