How to achieve Watchdog functionality in smartBASIC?
While we have not implemented specific Watchdog functions in smartBASIC, a work-around can be achieved by having external circuitry that if not ticked causes the external circuit to reset the module. You could program a timer in smartBASIC that toggles a GPIO, so that it resets a timer in an external circuit preventing it from expiring and resetting the module. If smartBASIC falls over for any reason, then the external circuit never gets ticked and therefore goes ahead and reset the module. However, that workaround depends on the external circuitry you wish to implement for your application.