Difference between revisions of "Component: IrDA (EB012, MCP1250, MCP2120) (Wireless)"
From Flowcode Help
Jump to navigationJump to searchLine 16: | Line 16: | ||
==Detailed description== | ==Detailed description== | ||
+ | |||
+ | |||
Line 24: | Line 26: | ||
==Examples== | ==Examples== | ||
+ | |||
+ | |||
Line 49: | Line 53: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Char | | width="90%" | Char | ||
|- | |- | ||
Line 67: | Line 71: | ||
|- | |- | ||
|- | |- | ||
− | | width="10%" align="center" | [[File:]] - | + | | width="10%" align="center" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" | Timeout | | width="90%" | Timeout | ||
|- | |- | ||
| colspan="2" | Max amount of time in milliseconds to wait for data. | | colspan="2" | Max amount of time in milliseconds to wait for data. | ||
|- | |- | ||
− | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:]] - | + | | width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-s16-icon.png]] - INT |
| width="90%" style="border-top: 2px solid #000;" | ''Return'' | | width="90%" style="border-top: 2px solid #000;" | ''Return'' | ||
|} | |} |
Revision as of 13:28, 17 November 2021
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.
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
Downloadable macro reference
SendChar | |
Sends a byte character to the IrDA connection. | |
- INT | Char |
- VOID | Return |
ReceiveChar | |
Receives byte character from the IrDA connection. | |
- INT | Timeout |
Max amount of time in milliseconds to wait for data. | |
- INT | Return |
Initialise | |
Initialises the UART ready for IrDA data to be sent or received, | |
- VOID | Return |