|
|
| (One intermediate revision by one user not shown) |
| Line 1,399: |
Line 1,399: |
| | |- | | |- |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<syntaxhighlight lang="ROBOTC"> | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<syntaxhighlight lang="ROBOTC"> |
| − | turnLEDOn(); // turn on LED in port in2 (default) | + | turnLEDOn(); // turn on LED in port in12 (default) |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | |- | | |- |
| Line 1,444: |
Line 1,444: |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX LED to use.<br />(default: <span class="codeStringsNums">in12</span>) | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX LED to use.<br />(default: <span class="codeStringsNums">in12</span>) |
| − | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">in1</span> to <span class="codeStringsNums">in12</span><br />Or their names setup in Motors and Sensors Setup. | + | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">in1</span> to <span class="codeStringsNums">in16</span><br />Or their names setup in Motors and Sensors Setup. |
| | |- | | |- |
| | |} | | |} |
| Line 1,453: |
Line 1,453: |
| | |- | | |- |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<syntaxhighlight lang="ROBOTC"> | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<syntaxhighlight lang="ROBOTC"> |
| − | turnLEDOff(); // turn off LED in port in2 (default) | + | turnLEDOff(); // turn off LED in port in12 (default) |
| | </syntaxhighlight> | | </syntaxhighlight> |
| | |- | | |- |
| Line 1,500: |
Line 1,500: |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX Flashlight to use.<br />(default: <span class="codeStringsNums">port4</span>) | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX Flashlight to use.<br />(default: <span class="codeStringsNums">port4</span>) |
| − | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">port1</span> to <span class="codeStringsNums">port10</span><br />Or their names setup in Motors and Sensors Setup. | + | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">port1</span> to <span class="codeStringsNums">port8</span><br />Or their names setup in Motors and Sensors Setup. |
| | |- | | |- |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''brightness'' | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''brightness'' |
| − | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The level of brightness to<br />set the VEX Flashlight to.<br />(default: <span class="codeStringsNums">dgtl2</span>) | + | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The level of brightness to<br />set the VEX Flashlight to.<br />(default: <span class="codeStringsNums">63</span>) |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|Any whole integer amount from 0 to 127. | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|Any whole integer amount from 0 to 127. |
| | |- | | |- |
| Line 1,557: |
Line 1,557: |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|''sensorPort'' |
| | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX Flashlight to use.<br />(default: <span class="codeStringsNums">port4</span>) | | | style="border-style: solid; border-width: 0px 0px 0px 0px"|The VEX Flashlight to use.<br />(default: <span class="codeStringsNums">port4</span>) |
| − | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">port1</span> to <span class="codeStringsNums">port10</span><br />Or their names setup in Motors and Sensors Setup. | + | | style="border-style: solid; border-width: 0px 0px 0px 0px"|<span class="codeStringsNums">port1</span> to <span class="codeStringsNums">port8</span><br />Or their names setup in Motors and Sensors Setup. |
| | |- | | |- |
| | |} | | |} |