Component: RC5 (EB060, Generic 36KHz) (Wireless)
From Flowcode Help
(Redirected from Component: ID 81e90a9f 1594 4b34 8aef 5dd671dddc30)
Jump to navigationJump to searchAuthor | Matrix Ltd. |
Version | 1.2 |
Category | Wireless |
Contents
RC5 (EB060, Generic 36KHz) component
Low level routines for controlling a standard RC5 IR interface. Also available in the form of the EB060 RC5 E-block.
Detailed description
No detailed description exists yet for this component
Examples
Receive Data
Example to receive data via RC5 encoded IR on an Arduino Uno. RC5 incoming data pin connected to pin D2. If a valid RC5 packet is received then the 8-bit data is sent to the UART to USB converter to be displayed on the PC serial terminal.
Macro reference
CheckRx
CheckRx | |
Checks to see if a new RC5 packet has been received. Returns 0 to signify no new data available. Returns 1 to signify there is new data available. | |
- BOOL | Return |
CollectData
CollectData | |
Retreives a value from the last successful RC5 reception. 0 = Read Command 1 = Read Address 2 = Read Toggle Bit | |
- BYTE | Index |
0=Command, 1=Address, 2=ToggleBit | |
- BYTE | Return |
RXDisable
RXDisable | |
Disables the RC5 data receive functionality. | |
- VOID | Return |
RXEnable
RXEnable | |
Enables the RC5 data receive functionality. | |
- VOID | Return |
TXDisable
TXDisable | |
Disables the RC5 data transmit functionality. | |
- VOID | Return |
TXEnable
TXEnable | |
Enables the RC5 data transmit functionality. | |
- VOID | Return |
TXPacket
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_RC5.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_RC5.fcfx