Read or Update On Timer

sec = pcb.onfor( [sec] )

Reads, or updates, the number of seconds the PCB should keep the ip.buffer alive.

Parameter Type Description
sec integer Number of seconds to keep ip.buffer alive.
Returns Type Description
sec integer Number of seconds remaining.
Info

If COM1.DTR is asserted, or if any WAKEUP hardware input is asserted, the ip.buffer will not turn off (because active hardware controls override the firmware controls).