Class FireLEDs

All Implemented Interfaces:
Sendable

public class FireLEDs extends Command
Command to move LEDs back and forth like a Cylon eye
  • Constructor Details

    • FireLEDs

      public FireLEDs(LEDs leds, int cooling, int sparking, int speedDelay)
      Command to make a fire-esque display for a single column of LEDs
      Parameters:
      leds - The LED subsystem
      cooling - Indicates how fast a flame cools down. More cooling means shorter flames.
      sparking - Indicates the chance (out of 255) that a spark will ignite. A higher value makes the fire more active.
      speedDelay - Delay in ms. Allows you to slow down the fire activity ... a higher value makes the flame appear slower
    • FireLEDs

      public FireLEDs(LEDs leds)
      Command to make a fire-esque display for a single column of LEDs
      Parameters:
      leds - The LED subsystem
  • Method Details