public class PhysicalLED extends LED
A single color LED that sends its brightness to an Address.
  • Constructor Details

    • PhysicalLED

      public PhysicalLED(String id, DoubleAddress brightnessAddress)
      Creates a new PhysicalLED.
      Parameters:
      id - The ID string for the LED to use.
      brightnessAddress - The address to send the brightness 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