Syntax
CONFIG CLOCK = soft | USER [, GOSUB = SECTIC]
Remarks
Soft Use SOFT for using the software based clock routines. Use USER to write/use your own code in combination with an
I2C clock chip for example.
Sectic This option allows to jump to a user routine with the label sectic.Since the interrupt occurs every second you may handle various tasks in the sectic label. It is important that you use the name SECTIC and that you return with a RETURN statement from this label. The usage of the optional SECTIC routine will use 30 bytes of the hardware stack. This option only works with the SOFT clock mode. It does not work in USER mode.
Lesezeichen