User Tools

Site Tools


uphp:functions:debug

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
uphp:functions:debug [2017/02/21 08:39]
jeff
uphp:functions:debug [2017/04/12 12:54]
jeff
Line 1: Line 1:
 ======debug====== ======debug======
 +
 <badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge> <badge>WMPRO FW >= 1.0</badge> <badge>WMMEGA FW >= 2.0</badge>
  
Line 5: Line 6:
  
 ====Description==== ====Description====
-<well size="sm"><html><span style="font-size:125%;"></html>[[debug]] 
-<html> 
-<span style="color:green;">string 
-<span style="color:blue;">$output 
-<span style="color:black;">) 
-</html></well> 
  
-====Parameters==== +<well size="sm"> 
-<html><span style="color:blue;"><b>output</b><span style="color:black;"></html>:  A string to output+<html> 
 +<span style="font-size:125%"> 
 +</html> 
 +[[debug]] ( 
 +<html>  
 +<span style="color:green">string 
 +<span style="color:blue">$output 
 +<span style="color:black">
 +</html> 
 +</well> 
 + 
 +====Parameter==== 
 + 
 +<html><b><span style="color:blue">$output<span style="color:black"></b>:  A <b><span style="color:green">string<span style="color:black"></b> to output</html>
  
 ====Return Value==== ====Return Value====
 +
 None None
  
 ====Example==== ====Example====
-<code php><?  + 
-debug("This is a debug message"); +<code php> 
-//this will appear on the serial port if connected to a console +<? 
-?></code>+  debug("This is a debug message"); 
 +  // this will appear on the serial port if connected to a console 
 +?> 
 +</code>
  
 ====See Also==== ====See Also====
-[[uphp:serial_port_programming]] - Some information on connecting and using the serial port+ 
 +[[how_tos:Serial Port Programming]] - Some information on connecting and using the serial ports
  
 [[debugout()]] - Enable or disable debug messages [[debugout()]] - Enable or disable debug messages
uphp/functions/debug.txt · Last modified: 2021/09/13 05:57 (external edit)