====== Debug and Watchdog ====== Inspect execution state or configure the Watchdog. ===== Debug ===== * [[:en-us_commands:reference:debugstart|debugStart()]] — Sets the port and baud rate for debug output. * [[:en-us_commands:reference:debugstop|debugStop()]] — Stops debug output. * [[:en-us_commands:reference:debugstate|debugState()]] — Returns whether debug output is enabled. * [[:en-us_commands:reference:debug|debug()]] — Outputs values only when debugging is enabled. * [[:en-us_commands:reference:debugln|debugln()]] — Outputs a debug value followed by a newline. ===== Watchdog ===== * [[:en-us_commands:reference:wdt_enable|WDT_ENABLE()]] — Sets the Watchdog timeout and starts it. * [[:en-us_commands:reference:wdt_disable|WDT_DISABLE()]] — Stops the Watchdog. * [[:en-us_commands:reference:wdt|WDT()]] — Refreshes the Watchdog before its timeout expires. [[:en-us_commands:builtin|← Built-in function list]]