<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.robotc.net/w/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;feed=atom&amp;action=history</id>
		<title>ARDUINO 328 Functions Debug - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;action=history"/>
		<updated>2013-05-22T13:50:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.18.0</generator>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=4927&amp;oldid=prev</id>
		<title>Dwest at 13:27, 29 June 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=4927&amp;oldid=prev"/>
				<updated>2012-06-29T13:27:09Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:27, 29 June 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Due to the Arduino Uno only &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;have &lt;/del&gt;32kb of space, ROBOTC is not able to support String variables or Debug Stream (which requires Strings) on the Arduino Uno platform. Hopefully we can make this enhancement in a future version'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;'''Due to the Arduino Uno only &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;having &lt;/ins&gt;32kb of space, ROBOTC is not able to support String variables or Debug Stream (which requires Strings) on the Arduino Uno platform. Hopefully we can make this enhancement in a future version&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;----&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dwest</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3350&amp;oldid=prev</id>
		<title>Tfriez at 14:48, 14 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3350&amp;oldid=prev"/>
				<updated>2012-05-14T14:48:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 14:48, 14 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;'''Due to the Arduino Uno only have 32kb of space, ROBOTC is not able to support String variables or Debug Stream (which requires Strings) on the Arduino Uno platform. Hopefully we can make this enhancement in a future version'''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;----&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The debugger in ROBOTC allows you to see all of your sensor, motor and variables while running your program. ROBOTC also has a debug terminal called the &amp;quot;Debug Stream&amp;quot; that you can use to output a terminal-like stream of information to have an additional way to monitor your program.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The debugger in ROBOTC allows you to see all of your sensor, motor and variables while running your program. ROBOTC also has a debug terminal called the &amp;quot;Debug Stream&amp;quot; that you can use to output a terminal-like stream of information to have an additional way to monitor your program.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tfriez</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3277&amp;oldid=prev</id>
		<title>Bfeher at 20:48, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3277&amp;oldid=prev"/>
				<updated>2012-05-11T20:48:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:48, 11 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Debug}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Debug &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Functions&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_328_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3263&amp;oldid=prev</id>
		<title>Bfeher at 20:39, 11 May 2012</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3263&amp;oldid=prev"/>
				<updated>2012-05-11T20:39:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 20:39, 11 May 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Debug}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{DISPLAYTITLE:328 Debug}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ARDUINO_MEGA_Functions_and_Variables&lt;/del&gt;|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ARDUINO_328_Functions_and_Variables&lt;/ins&gt;|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	<entry>
		<id>http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3259&amp;oldid=prev</id>
		<title>Bfeher: Created page with &quot;{{DISPLAYTITLE:328 Debug}} &lt;yambe:breadcrumb self=&quot;328 Debug&quot;&gt;ARDUINO_MEGA_Functions_and_Variables|Functions and Variables&lt;/yambe:breadcrumb&gt; &lt;br /&gt;  The debugger in ROBOTC al...&quot;</title>
		<link rel="alternate" type="text/html" href="http://www.robotc.net/w/index.php?title=ARDUINO_328_Functions_Debug&amp;diff=3259&amp;oldid=prev"/>
				<updated>2012-05-11T20:35:28Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{DISPLAYTITLE:328 Debug}} &amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_MEGA_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt; &amp;lt;br /&amp;gt;  The debugger in ROBOTC al...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{DISPLAYTITLE:328 Debug}}&lt;br /&gt;
&amp;lt;yambe:breadcrumb self=&amp;quot;328 Debug&amp;quot;&amp;gt;ARDUINO_MEGA_Functions_and_Variables|Functions and Variables&amp;lt;/yambe:breadcrumb&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The debugger in ROBOTC allows you to see all of your sensor, motor and variables while running your program. ROBOTC also has a debug terminal called the &amp;quot;Debug Stream&amp;quot; that you can use to output a terminal-like stream of information to have an additional way to monitor your program.&lt;br /&gt;
&lt;br /&gt;
The debug stream is buffered directly in memory on the Arduino platform - You can store 300 bytes of debug stream data on the Arduino when running away from the PC. Once the Arduino is connected to the PC, you can open the debug stream and the entire buffer will be written to the &amp;quot;Debug Stream&amp;quot; debugger window.&lt;br /&gt;
&lt;br /&gt;
You can open this debugger window from the &amp;quot;Robot -&amp;gt; Debugger Windows -&amp;gt; Debug Stream&amp;quot; window when in Expert or Super User mode.&lt;br /&gt;
&lt;br /&gt;
[[File:DebugStream.png]]&lt;br /&gt;
{{tl|1|1}}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== writeDebugStream ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;functionType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;void &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;writeDebugStream&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;const string &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;sFormatString&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;, &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_void|void]]) The Debug Stream functionality allow the user to output formatted text to a debug terminal. This command works similar to a print to LCD command, but displays the information to the &amp;quot;Debug Stream&amp;quot; ROBOTC debugger window.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|''sFormatString'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|A formatted string following standard C-Style convention for showing data inline.&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|[[Data_Types#dataType_void|void]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
  int fooBarVar = 503;                       //Create a Variable to Display&lt;br /&gt;
  writeDebugStream(&amp;quot;Value: %d&amp;quot;, fooBarVar);  //Write the string &amp;quot;Value: 503&amp;quot; to the Debug Stream&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== writeDebugStreamLine ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;functionType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;void &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;writeDebugStreamLine&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;(&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;const string &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;sFormatString&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;, &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodeBasic&amp;quot;&amp;gt;...&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigCodePunc&amp;quot;&amp;gt;)&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_void|void]]) The Debug Stream functionality allow the user to output formatted text to a debug terminal. This command works similar to a print to LCD command, but displays the information to the &amp;quot;Debug Stream&amp;quot; ROBOTC debugger window.&lt;br /&gt;
&lt;br /&gt;
The only difference between this function and &amp;quot;writeDebugStream&amp;quot; is that a new line character is added after every call of &amp;quot;writeDebugStreamLine&amp;quot;.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {| class=&amp;quot;parameterTable&amp;quot; cellpadding=&amp;quot;5%&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Parameter&lt;br /&gt;
  ! width=&amp;quot;60%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Explanation&lt;br /&gt;
  ! width=&amp;quot;20%&amp;quot; style=&amp;quot;border-style: solid; border-width: 0px 0px 1px 0px&amp;quot;|Data Type&lt;br /&gt;
  |-&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|''sFormatString'' &lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|A formatted string following standard C-Style convention for showing data inline.&lt;br /&gt;
  | style=&amp;quot;border-style: solid; border-width: 1px 0px 1px 0px&amp;quot;|[[Data_Types#dataType_void|void]]&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
  int fooBarVar = 503;                       //Create a Variable to Display&lt;br /&gt;
  writeDebugStream(&amp;quot;Value: %d&amp;quot;, fooBarVar);  //Write the string &amp;quot;Value: 503&amp;quot; to the Debug Stream&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== getAvailSpaceInDebugStream ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;variableType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;intrinsic short &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;getAvailSpaceInDebugStream&amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;codePunc&amp;quot;&amp;gt;()&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_short|short]])  Variable will return the current amount of space available in the debug stream. For the Arduino platform, the maximum size of the debug stream is 300 bytes.&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  {|&lt;br /&gt;
  |-&lt;br /&gt;
  |&amp;lt;syntaxhighlight lang=&amp;quot;robotc&amp;quot;&amp;gt;&lt;br /&gt;
  while(true)&lt;br /&gt;
  {&lt;br /&gt;
    if(getAvailSpaceInDebugStream() == 0)              //Check if there is still room available&lt;br /&gt;
      wait1Msec(50);                                   //No Room: Wait for a while.&lt;br /&gt;
    else&lt;br /&gt;
      writeDebugStream(&amp;quot;Still Have Room!&amp;quot;, fooBarVar); //Got room, let's write some data!&lt;br /&gt;
  }&lt;br /&gt;
   &amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
  |-&lt;br /&gt;
  |}&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== bFloatConversionErrors ==&lt;br /&gt;
{| style=&amp;quot;color:black;&amp;quot; width=&amp;quot;100%&amp;quot; cellpadding=&amp;quot;5%&amp;quot; cellspacing=&amp;quot;0&amp;quot; border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| class=&amp;quot;variableType&amp;quot;| &amp;lt;span class=&amp;quot;bigKeywordBI&amp;quot;&amp;gt;intrinsic bool &amp;lt;/span&amp;gt;&amp;lt;span class=&amp;quot;bigKeywordB&amp;quot;&amp;gt;bFloatConversionErrors&amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;&amp;quot;|([[Data_Types#dataType_bool|bool]]) When true, this variable will generate an exception if an out of range error occurs when converting a &amp;quot;float&amp;quot; value to an integer. ROBOTC will convert out of range exceptions into the largest possible integer number.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bfeher</name></author>	</entry>

	</feed>