irda4 2.1.0.0
|
IrDA 4 Click is a compact add-on board that provides a cost-effective solution for sending and receiving IR serial data. This board features the TFBS4650, an infrared transceiver from Vishay Semiconductors. The transceiver includes a PIN photodiode, an infrared emitter, and a low-power integral circuit and complies with the IrDA physical layer specification.
We provide a library for the IrDA 4 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for IrDA 4 Click driver.
irda4_cfg_setup
Config Object Initialization function. irda4_init
Initialization function. irda4_generic_write
IrDA 4 data writing function. irda4_generic_read
IrDA 4 data reading function. irda_hw_reset
IrDA 4 hardware reset function. This example demonstrates the use of IrDA 4 click board by processing the incoming data and displaying them on the USB UART.
The demo application is composed of two sections :
Initializes the driver and disables the transmitter shutdown.
Demonstrates the use of IrDA 4 clicks which can be used as transmitter or receiver.
- TRANSMITTER : Device is sending tx_message data.
- RECEIVER : Device is reading a message that is being transmitted and logs it on the UART terminal.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.