Read or Update the Timer Values
t = pcb.wakeup( [wt] )
Read, or set-and-read, the various timer values.
The wt
fields are optional. e.g. you can set just the duration
without updating interval
.
Parameter | Type | Description |
---|---|---|
wt.interval |
integer | The interval, in seconds, to wakeup the ip.buffer |
wt.duration |
integer | The time, in seconds, to keep the ip.buffer alive after a WAKEUP pulse input. |
Returns | Type | Description |
---|---|---|
t.counter |
integer | Incrementing seconds counter |
t.interval |
integer | Interval, in seconds, to wakeup the ip.buffer when counter ≥ interval |
t.duration |
integer | Time, in seconds, to keep ip.buffer alive after a WAKEUP pulse input |
t.onfor |
integer | The number of seconds the N4X PCB will keep the ip.buffer alive. |