Package jpigpio
Class Pulse
java.lang.Object
jpigpio.Pulse
public class Pulse
extends java.lang.Object
Class to store pulse information
-
Constructor Summary
Constructors Constructor Description Pulse(int gpioOn, int gpioOff, int delay)Initialises a pulse. -
Method Summary
-
Constructor Details
-
Pulse
public Pulse(int gpioOn, int gpioOff, int delay)Initialises a pulse.- Parameters:
gpioOn- binary encoded GPIO number(1<<gpioOn)to switch on at the start of the pulse. If zero, then no GPIO will be switched on.gpioOff- binary encoded GPIO number(1<<gpioOff)to switch off at the start of the pulse. If zero, then no GPIO will be switched off.delay- the delay in microseconds before the next pulse.
-