Class PigpioPulse

java.lang.Object
org.photonvision.common.hardware.GPIO.pi.PigpioPulse

public class PigpioPulse extends Object
  • Constructor Details

    • PigpioPulse

      public PigpioPulse(int gpioOn, int gpioOff, int delayMicros)
      Initialises a pulse.
      Parameters:
      gpioOn - GPIO number to switch on at the start of the pulse. If zero, then no GPIO will be switched on.
      gpioOff - GPIO number to switch off at the start of the pulse. If zero, then no GPIO will be switched off.
      delayMicros - the delay in microseconds before the next pulse.