current6
2.0.0.0
|
PRVIH_PAR_RECENICA_SA_PRODUCT_PAGE_DA_ISPRATE_CELINU
[click Product page](CLICK_PRODUCT_PAGE_LINK)
We provide a library for the Current 6 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 Current 6 Click driver.
current6_cfg_setup
Config Object Initialization function. current6_init
Initialization function. current6_default_cfg
Click Default Configuration function. current6_get_alert_pin
This function returns the alert pin logic state. current6_read_data
This function reads the input voltage and current measurement values. current6_get_status
This function reads and clears the status register. This example demonstrates the use of Current 6 click board by reading the input voltage and current measurements.
The demo application is composed of two sections :
Initializes the driver and performs the click default configuration.
Waits for the FIFO data interrupt and then reads the measurements of the input voltage and current and displays the results on the USB UART approximately once per second.
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.