Class Flipflop


public class Flipflop extends SimFunction<VBoolean>
Function to simulate a boolean signal that turns on and off.
  • Constructor Details

    • Flipflop

      public Flipflop()
      Creates a flipflop that changes every 500 ms.
    • Flipflop

      public Flipflop(Double interval)
      Creates a signal that turns on and off every interval.
      Parameters:
      interval - interval between samples in seconds