Difference between revisions of "TestSandbox"

From ROBOTC API Guide
Jump to: navigation, search
(Replaced content with "Link to arduino getting started")
Line 1: Line 1:
== Standard C data types: ==
+
[[Getting_Started#Getting_Started_with_Arduino|Link to arduino getting started]]
{| style="font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:left; font-size:100%;" width="100%" cellpadding="5%" cellspacing="0" border="0" class="wikiText"
+
|-
+
|
+
  {| style="font-family:Verdana, Geneva, sans-serif; color:black; background-color:#FFFFFF; text-align:center; font-size:100%; border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #000;" cellpadding="5%"
+
  ! style="text-align:left; border-style: solid; border-width: 0px 0px 1px 0px"|''data type''
+
  ! style="text-align:left; border-style: solid; border-width: 0px 0px 1px 0px"|Comments
+
  ! min-width="50px" style="green; text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-arduino328}}
+
  ! min-width="50px" style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-arduinoMega}}
+
  ! min-width="50px" style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-vex2}}
+
  ! min-width="50px" style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-nxt}}
+
  ! min-width="50px" style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-vex}}
+
  ! min-width="50px" style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-tetrix}}
+
  |-
+
  | style="text-align:left; border-style: solid; border-width: 1px 0px 1px 0px"|<span class="keywordBI" id="dataType_bool">bool</span>
+
  | style="text-align:left; border-style: solid; border-width: 1px 0px 1px 0px"|A Boolean value; either <span class="keywordBI">true</span> or <span class="keywordBI">false</span>.
+
Note that <span class="keywordBI">false</span> is equivalent to zero (0), and <span class="keywordBI">true</span> is equivalent to any non-zero number (both positive and negative).
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|{{tag-arduino328}}
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|{{tag-vex2}}
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 1px 0px 1px 0px"|{{tag-tetrix}}
+
  |-
+
  | style="text-align:left; border-style: solid; border-width: 0px 0px 1px 0px"|<span class="keywordBI" id="dataType_byte">byte</span>
+
  | style="text-align:left; border-style: solid; border-width: 0px 0px 1px 0px"|A whole number ranging from -128 to 127.
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-arduino328}}
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-vex2}}
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|
+
  |style="text-align:right; border-style: solid; border-width: 0px 0px 1px 0px"|{{tag-tetrix}}
+
|}
+
<br />
+

Revision as of 18:56, 11 May 2012

Link to arduino getting started