spirit
2.0.0.0
|
SPIRIT click carries the SP1ML 868MHz ultra low-power RF module. The board is designed to use 3.3V power supply and 3.3V or 5V I/O voltage levels. It communicates with the target MCU over UART interface, with additional functionality provided by the following pins on the mikroBUS™ line: PWM, RST, CS.
We provide a library for the SPIRIT 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 SPIRIT Click driver.
spirit_cfg_setup
Config Object Initialization function. spirit_init
Initialization function. spirit_power_module
Function for power mode of SPIRIT click. spirit_reset
Function for reseting SPIRIT click. spirit_set_mode
Function for setting mode of SPIRIT click. This example reads and processes data from SPIRIT clicks.
The demo application is composed of two sections :
Initializes the driver and configures the click board.
Depending on the selected mode, it reads all the received data or sends the desired message every 2 seconds.
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.