train
Pulse train generator
new train()
Methods
next(interval, width, pulsephase): out1
Arguments
Name | Type | Default | Description |
---|---|---|---|
interval | number | ||
width | number | 0.5 | |
pulsephase | number |
Returns
Name | Type | Description |
---|---|---|
out1 | number | A float value of either 0.0 or 1.0 representing the high and low phases of the pulse train having the specified interval, width, and phase. |
reset(): out1
Returns
Name | Type | Description |
---|---|---|
out1 |