Difference between revisions of "Component: IrDA (EB012, MCP1250, MCP2120) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 80: | Line 80: | ||
Basic example which waits for any incoming data and then displays the data on the LCD. | Basic example which waits for any incoming data and then displays the data on the LCD. | ||
{{Fcfile|IrDA_Rx.fcfx|IrDA Receive}} | {{Fcfile|IrDA_Rx.fcfx|IrDA Receive}} | ||
+ | |||
+ | |||
Line 85: | Line 87: | ||
==Macro reference== | ==Macro reference== | ||
+ | ===SendChar=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 103: | Line 106: | ||
+ | ===ReceiveChar=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- | ||
Line 121: | Line 125: | ||
+ | ===Initialise=== | ||
{| class="wikitable" style="width:60%; background-color:#FFFFFF;" | {| class="wikitable" style="width:60%; background-color:#FFFFFF;" | ||
|- | |- |
Revision as of 11:50, 3 February 2023
Author | Matrix Ltd. |
Version | 2.0 |
Category | Wireless |
Contents
IrDA (EB012, MCP1250, MCP2120) component
Low level routines for controlling a standard IrDA interface. Also available in the form of the EB012 IrDA E-block.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_IrDA.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_IrDA.fcfx
Detailed description
No detailed description exists yet for this component
Examples
Transmit
Basic example which repeatedly transmits a string of data via the IrDA interface. IrDA Transmit
Receive
Basic example which waits for any incoming data and then displays the data on the LCD. IrDA Receive
Macro reference
SendChar
SendChar | |
Sends a byte character to the IrDA connection. | |
- INT | Char |
- VOID | Return |
ReceiveChar
ReceiveChar | |
Receives byte character from the IrDA connection. | |
- INT | Timeout |
Max amount of time in milliseconds to wait for data. | |
- INT | Return |
Initialise
Initialise | |
Initialises the UART ready for IrDA data to be sent or received, | |
- VOID | Return |