Class PhysicalLEDRGB


public class PhysicalLEDRGB extends LEDMulticolor
An RGB LED that sends its RGB components to Addresses.
  • Constructor Details

    • PhysicalLEDRGB

      public PhysicalLEDRGB(String id, DoubleAddress redAddress, DoubleAddress greenAddress, DoubleAddress blueAddress)
      Creates a new PhysicalLEDRGB.
      Parameters:
      id - The ID string for the LED to use.
      redAddress - The address to send the red component to.
      greenAddress - The address to send the green component to.
      blueAddress - The address to send the blue component to.
  • Method Details

    • updateHardware

      public void updateHardware()
      Description copied from class: Control
      Interfaces with the buttonbox hardware and updates the state of the physical control. Called after Control.updateClient().

      This doesn't do anything by default, and should be overridden by the class inheritting this.

      Overrides:
      updateHardware in class Control