How to make a phaseshift for Triangular Wave in cscript

I want to implement a model for phaseshift PWM with n(variable) angles. But i have no ideal how to create Triangular Wave with the number n. Can I use the delay() function in cscript?

1 Like

Have a look at this question and its answer: How to create triangular waveform with variable phase shift.