Periodically call two functions representing Mark and Space timings
Methods
init()
static
Initially define both mark and space functions
restart()
static
Update the mark and space periods
pwm(mark_ms, space_ms)
inner
Periodically call two functions representing Mark and Space timings
Arguments:
-
mark_ms
(Number)
-
space_ms
(Number)
restart()
inner
Update the mark and space periods
mark_ms
(Number)
space_ms
(Number)