delay
delay
Description
Do nothing for sec seconds. Will call time.sleep(sec), when running. When simulating, will only simulate the delay. Thus, NorthC9.delay() is preferred to time.sleep to avoid unnecessarily long simulation calculation times.
Signature
delay(self, sec: float, is_threaded = False)
Parameters
sec: float
Delay time in seconds.
Example