Class AnymaDMX_TrafficController

java.lang.Object
jmri.jmrix.anyma.AnymaDMX_TrafficController

public class AnymaDMX_TrafficController extends Object
Traffic controller for Anyma DMX.
Since:
4.9.6
  • Constructor Details

  • Method Details

    • connectPort

      Make connection to existing PortController (adapter) object.
      Parameters:
      p - the AnymaDMX_UsbPortAdapter we're connecting to
    • setChannelValue

      public void setChannelValue(int channel, byte value)
      set a channel's value
      Parameters:
      channel - the channel (1 - 512 inclusive)
      value - the value
    • setChannelRangeValues

      public void setChannelRangeValues(int from, int to, byte[] buf)
      set the values for a range of channels
      Parameters:
      from - the beginning index (inclusive)
      to - the ending index (inclusive)
      buf - the data to send note: the from/to indexes are 1-512 (inclusive)
    • dispose

      public void dispose()
      Clean up threads and local storage.