Difference between revisions of "Component: IrDA (EB012, MCP1250, MCP2120) (Wireless)"

From Flowcode Help
Jump to navigationJump to search
(XML import)
Line 18: Line 18:
  
 
==Examples==
 
==Examples==
''<span style="color:red;">No additional examples</span>''
 
  
 +
===Transmit===
 +
 +
Basic example which repeatedly transmits a string of data via the IrDA interface.
 +
 +
{{Fcfile|IrDA_Tx.fcfx|IrDA Transmit}}
 +
 +
 +
===Receive===
 +
 +
Basic example which waits for any incoming data and then displays the data on the LCD.
 +
 +
{{Fcfile|IrDA_Rx.fcfx|IrDA Receive}}
  
 
==Downloadable macro reference==
 
==Downloadable macro reference==

Revision as of 10:55, 6 March 2014

Author Matrix Ltd.
Version 1.1
Category Wireless


Image 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.

Examples

Transmit

Basic example which repeatedly transmits a string of data via the IrDA interface.

FC6 Icon.png IrDA Transmit


Receive

Basic example which waits for any incoming data and then displays the data on the LCD.

FC6 Icon.png IrDA Receive

Downloadable macro reference

SendChar

No additional information


Parameters

INT Char


Return value

This call does not return a value


ReceiveChar

No additional information


Parameters

INT Timeout


Return value

INT


Simulation macro reference

This component does not contain any simulation macros


Property reference

Channel

This property is of type Fixed list of ints and can be referenced with the variable name CHANNEL.

No additional information


Baud Rate

This property is of type Fixed list of ints and can be referenced with the variable name BAUD_LIST.

No additional information


INTERFACE

This property is of type Fixed list of ints and can be referenced with the variable name INTERFACE.

No additional information


Echo

This property is of type Fixed list of ints and can be referenced with the variable name ECHO.

No additional information


TX

This property is of type Single digital pin and can be referenced with the variable name TX.

No additional information


RX

This property is of type Single digital pin and can be referenced with the variable name RX.

No additional information


Label

This property is of type Line of text and can be referenced with the variable name label.

No additional information