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
wiki:tcb:operation:functionlist [2020/07/30 13:03]
opadmin [RC Passthrough]
wiki:tcb:operation:functionlist [2021/03/22 23:45] (current)
opadmin [General Purpose Outputs A & B]
Line 207: Line 207:
  
 ==== General Purpose Outputs A & B ==== ==== General Purpose Outputs A & B ====
-The TCB has two general purpose I/O ports called A & B. Whether they operate as inputs or outputs is something you determine by a setting on the [[wiki:opconfig:tabs:lightsio|Lights & I/O tab]] of OP Config. If set to input, then the following functions will not appear. When set to output remember these ports only provide a //logic-level// on/off signal at 5 volts with a 20mA max current draw each. This means they can be connected to another 5-volt tolerant microcontroller or logic circuit, but they should not be used to drive lights or other devices directly. The TCB has four light outputs plus the Aux Output that are better suited to driving devices. However if those are not enough you can still use these to drive a transistor or MOSFET circuit which itself can then drive a light or LED. See the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page for more information.  +The TCB has two general purpose I/O ports called A & B. Whether they operate as inputs or outputs is something you determine by a setting on the [[wiki:opconfig:tabs:lightsio|Lights & I/O tab]] of OP Config. If set to input, then the following functions will not appear. When set to output remember these ports only provide a //logic-level// on/off signal at 5 volts with a 40mA max current draw each. This means they can be connected to another 5-volt tolerant microcontroller or logic circuit, but they should not be used to drive lights or other devices directly unless you are certain the current draw will remain under 40mA. The TCB has four light outputs plus the Aux Output that are better suited to driving devices. However if those are not enough you can still use these to drive a transistor or MOSFET circuit which itself can then drive a light or LED. See the [[wiki:tcb:tcbinstall:io_ports_ab|I/O Ports]] page for more information.  
  
 ===External Output A | B - On | Off | Toggle | Pulse | Blink (D)=== ===External Output A | B - On | Off | Toggle | Pulse | Blink (D)===
-The **On** function will turn Output A on, the **Off** function will turn it off, and the **Toggle** function will toggle the Output A status (on → off, off → on). The **Pulse** function will briefly set the pin to the opposite state of its default level (default level set in OP Config, either High or Low). Use the Pulse function to emulate a button press to some external device. The **Blink** function will start blinking the output at the rate specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights tab]] of OP Config. To stop blinking, use the **On** or **Off** functions. +The **On** function will turn Output A on, the **Off** function will turn it off, and the **Toggle** function will toggle the Output A status (on → off, off → on). The **Pulse** function will briefly set the pin to the opposite state of its default level for a specified length of time (the default level and pulse length can be specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights & IO tab]] of OP Config). The **Blink** function will start blinking the output at the rate specified on the [[wiki:opconfig:tabs:lightsio#general_purpose_input_output_ports_a_b|Lights & IO tab]] of OP Config. To stop blinking, use the **On** or **Off** functions. 
  
 \\ \\
wiki/tcb/operation/functionlist.1596114205.txt.gz · Last modified: 2020/07/30 13:03 by opadmin