c420mat2
2.1.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the 4-20mA T 2 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 4-20mA T 2 Click driver.
c420mat2_cfg_setup
Config Object Initialization function. c420mat2_init
Initialization function. c420mat2_default_cfg
Click Default Configuration function. c420mat2_set_output_current
4-20mA T 2 set output current function. c420mat2_get_status
4-20mA T 2 set status function. c420mat2_set_lower_limit
4-20mA T 2 set lower limit function. This example demonstrates the use of 4-20mA T 2 Click boardâ„¢. This driver provides functions to configure analog output current transfer over an industry standard 4-20mA current loop.
The demo application is composed of two sections :
Initialization of SPI module and log UART. After driver initialization, default settings turn on the device.
This example demonstrates the use of the 4-20mA T 2 Click boardâ„¢. This example periodically changes the analog output current transfer from 4mA to 20mA and display status every 5 seconds. Results are being sent to the UART Terminal, where you can track their changes.
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.