This shows you the differences between two versions of the page.
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/05/04 12:24] jeff |
||
---|---|---|---|
Line 1: | Line 1: | ||
======debug====== | ======debug====== | ||
+ | |||
< | < | ||
Line 5: | Line 6: | ||
====Description==== | ====Description==== | ||
- | <well size=" | ||
- | < | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | ====Parameters==== | + | <well size=" |
- | < | + | < |
+ | <span style=" | ||
+ | </ | ||
+ | [[debug]] ( | ||
+ | < | ||
+ | <span style=" | ||
+ | <span style=" | ||
+ | <span style=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ====Parameter==== | ||
+ | |||
+ | <html><b>< | ||
====Return Value==== | ====Return Value==== | ||
+ | |||
None | None | ||
====Example==== | ====Example==== | ||
- | <code php><? | + | |
- | debug(" | + | <code php> |
- | //this will appear on the serial port if connected to a console | + | <? |
- | ?></ | + | debug(" |
+ | // this will appear on the serial port if connected to a console | ||
+ | ?> | ||
+ | </ | ||
====See Also==== | ====See Also==== | ||
- | [[uphp:serial_port_programming]] - Some information on connecting and using the serial | + | |
+ | [[how_tos:Serial Port Programming]] - Some information on connecting and using the serial | ||
[[debugout()]] - Enable or disable debug messages | [[debugout()]] - Enable or disable debug messages | ||
Line 31: | Line 44: | ||
[[error_reporting()]] - Set the debug output level | [[error_reporting()]] - Set the debug output level | ||
- | [[log()]] - Print to the System Log | + | [[log()]] - Print to the System Log (or optional file) |
[[print()]] - Output data to the current output stream such as a web page or terminal | [[print()]] - Output data to the current output stream such as a web page or terminal | ||